[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"



Scripsit "Joe Smith" <unknown_kev_cat@hotmail.com>
> From: "Henning Makholm" <henning@makholm.net>

>>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?

Not on my box:

# addgroup --system _blah
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.
# echo $?
1
# adduser --system _blah
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.
# echo $?
1
# 

-- 
Henning Makholm      "Jeg kunne ikke undgå at bemærke at han gik på hænder."



Reply to: