[Bug 341817] Re: dhcpd wont start due to rndc.key permissions
Lorin Soura
341817 at bugs.launchpad.net
Fri Apr 29 06:37:29 UTC 2011
After some extensive tinkering, I came up with this solution to the rndc.key permissions issue:
As the root user (or sudo) do the following:
cp /etc/bind/rndc.key /etc/dhcp3/
chown dhcp:dhcp /etc/dhcp3/rndc.key
chmod 640 /etc/dhcp3/rndc.key
In "/etc/dhcp3/dhcpd.conf" add this line:
include "/etc/dhcp3/rndc.key";
chown root:bind /etc/bind/rndc.key
chmod 640 /etc/bind/rndc.key
In /etc/bind/named.conf add this line to the top of the file:
include "/etc/bind/rndc.key";
In /etc/bind/named.conf add this line to the bottom of the file:
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/341817
Title:
dhcpd wont start due to rndc.key permissions
More information about the Ubuntu-server-bugs
mailing list