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

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




----- Original Message ----- From: "Henning Makholm" <henning@makholm.net>
Newsgroups: gmane.linux.debian.devel.general
Sent: Tuesday, September 13, 2005 6:41 AM
Subject: Re: Fw: Bug#328053: configure on install problem: cannot add user while name_regex don't match username "sympa"


Scripsit Stefan Hornburg <racke@linuxia.de>

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
[and much more]

What I don't understand is that the maintainer script blithely went on
doing its thing after addgroup failed the first time. The postinst
does have an -e flag -- what is happening here?

Umm... does addgroup and/or adduser fail to exit nonzero on these errors? Thats what I suspect would casue that.




Reply to: