Ticket #1898 (closed defect: fixed)
apparmor prevents dynamic dns with dhcp
|Reported by:||p.elsie||Owned by:||ejhernandez@…|
If you enable the "Dynamic DNS Options" on DHCP then then dhcp server will not start. If you run the command "sudo /etc/init.d/dhcp3-server restart" then you'll see some output like:
Can't open /etc/bind/keys: Permission denied
If you then run dmesg you'll get some apparmor details.
The workaround is to add the following to /etc/apparmor.d/usr.sbin.dhcpd3
# Ebox /etc/bind/keys r,
Then you must restart apparmor:
sudo /etc/init.d/apparmor restart
This occurs in Lucid with 1.5.
- priority changed from normal to high
- Severity changed from major to critical