1

Having problems getting Samba4 and Bind9 working together because of apparmor

view story
linux-howto

http://askubuntu.com – So I've been following the Samba4 HOWTO, which has gone reasonably well. The issue I'm having is I can't get BIND9 to restart when the samba configuration is included in /etc/bind/named.conf.local: include "/var/lib/samba/private/named.conf"; But when I try and restart Bind9 with sudo /etc/init.d/bind9 restart I get the error in my logs: Oct 18 20:25:00 xxxx kernel: [ 251.397899] type=1400 audit(1350588300.188:16): apparmor="DENIED" operation="open" parent=1807 profile="/usr/sbin/named" name="/var/lib/samba/private/named.conf" pid=1810 comm="named" requested_mask="r" denied_mask= (HowTos)