Package: bind9 Version: 1:9.6.1.dfsg.P1-3 Severity: normal If bind9 is installed together with resolvconf and it is configured to use resolvconf, it fails to start:
# apt-get install resolvconf bind9 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: bind9-doc ufw The following NEW packages will be installed: bind9 resolvconf 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/344kB of archives. After this operation, 1155kB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package bind9. (Reading database ... 89752 files and directories currently installed.) Unpacking bind9 (from .../bind9_1%3a9.6.1.dfsg.P1-3_amd64.deb) ... Selecting previously deselected package resolvconf. Unpacking resolvconf (from .../resolvconf_1.45_all.deb) ... Processing triggers for man-db ... Setting up bind9 (1:9.6.1.dfsg.P1-3) ... Adding group `bind' (GID 108) ... Done. Adding system user `bind' (UID 102) ... Adding new user `bind' (UID 102) with group `bind' ... Not creating home directory `/var/cache/bind'. wrote key file "/etc/bind/rndc.key" # Starting domain name service...: bind9resolvconf: Error: /etc/resolvconf/run/interface is not a directory invoke-rc.d: initscript bind9, action "start" failed. And it just hangs there. The culprit seems to be in bind9's init script: if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named fi So resolvconf is executed, because the package is already installed but it fails, because resolvconf is not yet configured. If bind9 is installed after resolvconf is properly configured, there's no problem. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31.4-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=de_AT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bind9 depends on: ii adduser 3.111 add and remove users and groups ii bind9utils 1:9.6.1.dfsg.P1-3 Utilities for BIND ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy ii libbind9-50 1:9.6.1.dfsg.P1-3 BIND9 Shared Library used by BIND ii libc6 2.9-25 GNU C Library: Shared libraries ii libcap2 1:2.17-1 support for getting/setting POSIX. ii libdb4.7 4.7.25-8 Berkeley v4.7 Database Libraries [ ii libdns50 1:9.6.1.dfsg.P1-3 DNS Shared Library used by BIND ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k ii libisc50 1:9.6.1.dfsg.P1-3 ISC Shared Library used by BIND ii libisccc50 1:9.6.1.dfsg.P1-3 Command Channel Library used by BI ii libisccfg50 1:9.6.1.dfsg.P1-3 Config File Handling Library used ii libldap-2.4-2 2.4.17-1 OpenLDAP libraries ii liblwres50 1:9.6.1.dfsg.P1-3 Lightweight Resolver Library used ii libssl0.9.8 0.9.8k-5 SSL shared libraries ii libxml2 2.7.6.dfsg-1 GNOME XML library ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ii netbase 4.37 Basic TCP/IP networking system bind9 recommends no packages. Versions of packages bind9 suggests: pn bind9-doc <none> (no description available) ii dnsutils 1:9.6.1.dfsg.P1-3 Clients provided with BIND pn resolvconf <none> (no description available) pn ufw <none> (no description available) -- debconf information: bind9/different-configuration-file: bind9/run-resolvconf: true bind9/start-as-user: bind -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org