Hello,

I experienced the same problem on my two Debian sarge systems after bind9's security upgrade from version 1:9.2.4-1 to 1:9.2.4-1sarge1. On both systems named runs as user 'root' (this is needed because of dynamic network interfaces), /etc/bind/rndc.key was owned by 'root' until the upgrade and rndc was running fine. It seems that bind9's postinst script changes the owner of /etc/bind/rndc.key from 'root' to 'bind' whenever the file /etc/defaults/bind9 already exists, whether it contains "-u bind" or not. The file existed on my systems, but without "-u bind".

I observed that named wants /etc/bind/rndc.key to be owned by 'root' when run as root, and accepts /etc/bind/rndc.key to be owned by 'bind' or 'root' when run as root.

Isn't there a bug in bind9's postinst script which can change the owner of /etc/bind/rndc.key to 'bind' without checking that named runs as user 'bind' ?

Also I don't understand that the choice of writing OPTIONS="" or OPTIONS="-u bind" in /etc/defaults/bind9 depends on the fact that /etc/bind/named.conf[.local] have been modified or not.


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

Reply via email to