[Pkg-sympa-commits] [SCM] sympa Debian packaging branch, master, updated. debian/6.1.11_dfsg-3-6-g7732b81
Emmanuel Bouthenot
kolter at openics.org
Sat Jun 16 19:18:14 UTC 2012
The following commit has been merged in the master branch:
commit ce1e45c02d62df9edef03ce8b5de6c264ce93326
Author: Emmanuel Bouthenot <kolter at openics.org>
Date: Sun Jun 3 14:56:22 2012 +0000
Use --force-badname with adduser while creating sympa user (avoid a failure with a custom NAME_REGEX in /etc/adduser.conf) (#328053)
diff --git a/debian/sympa.postinst b/debian/sympa.postinst
index 491564d..bd31eb1 100644
--- a/debian/sympa.postinst
+++ b/debian/sympa.postinst
@@ -24,7 +24,8 @@ sympa_version() {
# creating sympa user if he isn't already there
if ! getent passwd sympa >/dev/null ; then
echo "Adding system user: sympa."
- adduser --system --group --gecos "Sympa mailing list manager" --no-create-home --home /var/lib/sympa sympa >/dev/null
+ # We use --force-badname in case of a not compatible NAME_REGEX in /etc/adduser.conf (see #328053)
+ adduser --force-badname --system --group --gecos "Sympa mailing list manager" --no-create-home --home /var/lib/sympa sympa >/dev/null
fi
# /etc/sympa/data_structure.version should not be handled as a conffile as it
--
sympa Debian packaging
More information about the Pkg-sympa-commits
mailing list