reassign 351544 adduser thanks, On Sun, Feb 05, 2006 at 09:25:27AM -0800, Daniel Burrows wrote: > Package: avahi-daemon > Version: 0.6.6-1 > Severity: serious > > Configuring the avahi-daemon package fails as follows: > > Setting up avahi-daemon (0.6.6-1) ... > groupadd: GID 105 is not unique > adduser: `/usr/sbin/groupadd -g 105 avahi' returned error code 4. Aborting. > dpkg: error processing avahi-daemon (--configure): > subprocess post-installation script returned error exit status 4 > Errors were encountered while processing: > avahi-daemon > > The problem seems to be this adduser call: > > adduser --disabled-password --quiet --system \ > --home /var/run/avahi-daemon \ > --gecos "Avahi mDNS daemon" --group avahi > > According to the adduser manual page, this creates a group with the > same name and ID as the new user. It looks like adduser picks a UID first, > then fails if the GID corresponding to that UID is already used. If I > create the group separately, everything works fine: > > [EMAIL PROTECTED]:~$ sudo addgroup --system avahi > Adding group `avahi' (110)... > Done. > Adding new user `avahi' (105) with group `nogroup'. > Creating home directory `/home/avahi'. > [EMAIL PROTECTED]:~$ sudo adduser --disabled-password --quiet --system > --home /var/run/avahi-daemon --gecos "Avahi mDNS daemon" > --group avahi > [EMAIL PROTECTED]:~$ > > This is arguably a bug in adduser; feel free to clone and/or reassign > it there.
This is indeed an adduser bug, reassigning. Sjoerd -- If you have to think twice about it, you're wrong. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

