Scripsit Stefan Hornburg <[EMAIL PROTECTED]> > 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? > Wouldn't it be better that postinst script calls adduser with > --force-badname ? Hm, a better and simpler medium-term solution would be to allow configuring a different adduser regexp for --system accounts. A more long-term solution would be to explicitly reserve a portion of the username/group namespace to system users and groups. But this has been discussed before. -- Henning Makholm "Hør, hvad er det egentlig der ikke kan blive ved med at gå?"