[Adduser-devel] #407231
Marc Haber
mh+adduser-devel at zugschlus.de
Wed Jan 17 15:38:46 CET 2007
[Taking this from the BTS to the developer mailing list]
This is adduser from current svn HEAD (as is, Stephen's fix for
#407231, not mine).
$ grep addusertest117 /etc/group
addusertest117:x:157:
$ sudo addgroup --system addusertest117
The group `addusertest117' already exists, but has a different GID. Exiting.
$ echo $?
1
$
I think this is wrong. addusertest117 is already existing a system
group, and the user has requested it to be created as a system group
with no preference regarding UID.
Thus, I'd expect addgroup to say "addusertest117 already exists as a
system group" and exit with a zero exit code since the user's request
could be catered for (in fact, it was already fulfilled before).
It we upload as is, we'll break every package with a postinst that
just does "addgroup --system foo".
Or am I missing something here?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Adduser-devel
mailing list