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.
Daniel
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental'), (1, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages avahi-daemon depends on:
ii adduser 3.81 Add and remove users and groups
ii dbus 0.60-5 simple interprocess messaging syst
ii libavahi-common3 0.6.6-1 Avahi common library
ii libavahi-core3 0.6.6-1 Avahi's embeddable mDNS/DNS-SD lib
ii libc6 2.3.5-12.1 GNU C Library: Shared libraries an
ii libdaemon0 0.10-1 lightweight C library for daemons
ii libdbus-1-2 0.60-5 simple interprocess messaging syst
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
Versions of packages avahi-daemon recommends:
ii libnss-mdns 0.7-1 NSS module for Multicast DNS name
-- no debconf information
signature.asc
Description: Digital signature

