[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fw: Bug#328053: configure on install problem: cannot add user while name_regex don't match username "sympa"



Hello, 

I just received this bug report and would like to ask for comments on how to
handle this problem. There are enough other packages out there with a similar
setup.

Ciao
	Racke

Begin forwarded message:

Date: Tue, 13 Sep 2005 08:57:15 +0200
From: Jonathan ILIAS <jonathan.ilias@eseo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#328053: configure on install problem: cannot add user while name_regex don't match username "sympa"


I use a non usual name_regex pattern constraint to adduser script. Here
is the pattern I set in /etc/adduser.conf :
NAME_REGEX="([A-Z][a-z]+){2,}"

Of course, "sympa" user name doesn't match this pattern (which require
a Wiki like name).

When I install sympa, it fails adding this user. Here are the messages :
Setting up sympa (4.1.5-2) ...
Adding system group: sympa.
addgroup: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
Adding system user: sympa.
adduser: Warning: The home dir you specified already exists.
adduser: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
addgroup: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
adduser: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
dpkg: error processing sympa (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 sympa

Wouldn't it be better that postinst script calls adduser with --force-badname ?


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



Reply to: