Package: bind9 Version: 1:9.2.4-1 Severity: minor Tags: patch The following using getent from libc to test for usr/grp. The cron package uses it in its postinst as well for the same purpose.
--- postinst.orig 2006-09-05 02:53:26.000000000 -0600 +++ postinst 2006-09-05 02:58:47.000000000 -0600 @@ -6,12 +6,13 @@ lastversion="$2"; # lets give them a bind user/group in all cases. - # I wish there was an easier way to tell if it's there.. touch /var/run/bind9.$$ - chgrp bind /var/run/bind9.$$ >/dev/null 2>&1 || addgroup --system bind - chown bind /var/run/bind9.$$ >/dev/null 2>&1 || + getent group bind > /dev/null 2>&1 || addgroup --system bind + getent passwd bind > /dev/null 2>&1 || adduser --system --home /var/cache/bind --no-create-home \ --disabled-password --ingroup bind bind + chgrp bind /var/run/bind9.$$ >/dev/null 2>&1 + chown bind /var/run/bind9.$$ >/dev/null 2>&1 rm -f /var/run/bind9.$$ if [ ! -s /etc/bind/rndc.key ]; then You might also consider merging this report with bug #239665. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.17.5 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages bind9 depends on: ii adduser 3.63 Add and remove users and groups ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an ii libdns16 1:9.2.4-1 DNS Shared Library used by BIND ii libisc7 1:9.2.4-1 ISC Shared Library used by BIND ii libisccc0 1:9.2.4-1 Command Channel Library used by BI ii libisccfg0 1:9.2.4-1 Config File Handling Library used ii liblwres1 1:9.2.4-1 Lightweight Resolver Library used ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries ii netbase 4.21 Basic TCP/IP networking system -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]