Package: bind9
Severity: normal
Tags: patch

The directory /var/run/bind/run is set to root:bind by /etc/init.d/bind9

bind9 defaults to "-u bind" in /etc/default/bind9

These two settings conflict.

Simple fix is to change the chmod to set the user, as well:

--- /etc/init.d/bind9.old       2005-03-11 19:14:08.000000000 -0500
+++ /etc/init.d/bind9   2005-03-11 19:04:13.000000000 -0500
@@ -19,7 +19,7 @@
        # dirs under /var/run can go away on reboots.
        mkdir -p /var/run/bind/run
        chmod 775 /var/run/bind/run
-       chown root:bind /var/run/bind/run >/dev/null 2>&1 || true
+       chown bind:bind /var/run/bind/run >/dev/null 2>&1 || true

        if [ ! -x /usr/sbin/named ]; then
            echo "named binary missing - not starting"


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to