Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try and start isc-dhcp-server I get a can't open /etc/bind/rndc.key: permission denied

So per instructions from Ubuntu site I added to /etc/apparmor/usr.sbin.dhcpd


saved file and tried to reload per apparmor guide

cat /etc/apparmor.d/profile.name | sudo apparmor_parser -r

and I now get an this message

Setting /etc/apparmor.d/user.sbin.dhcpd to complain mode.
Warning fro stdin (line1): /sbin.apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
AppArmor parser error, in stdin line 27: syntax error, unexpected TOK_END_OF RULE, expecting TOK_MODE

What does this mean? I have looked at line 27 which is where I inserted the above statement into usr.sbin.dhcpd

I am just trying to install a DNS and DHCP with DDNS and yes I am following all the guides. Anybody have a clue I understand it is a permissions problem but what I did should have taken care of it?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.