Comment 2 for bug 655539

Revision history for this message
Lazy (ubuntu-bugs-oittaa) wrote :

Fresh installation:

root@Ubuntu-server:/usr/share/doc/smbind# usermod -G bind www-data
root@Ubuntu-server:/usr/share/doc/smbind# /etc/init.d/apache2 restart
 * Restarting web server apache2 ... waiting . [ OK ]
root@Ubuntu-server:/usr/share/doc/smbind# echo 'include "/etc/smbind/smbind.conf";' >> /etc/bind/named.conf.local
root@Ubuntu-server:/usr/share/doc/smbind# /etc/init.d/bind9 restart
 * Stopping domain name service... bind9 [ OK ]
 * Starting domain name service... bind9 [fail]

syslog:

Oct 6 23:01:17 Ubuntu-server named[22609]: /etc/bind/named.conf.local:9: open: /etc/smbind/smbind.conf: permission denied
Oct 6 23:01:17 Ubuntu-server named[22609]: loading configuration: permission denied
Oct 6 23:01:17 Ubuntu-server named[22609]: exiting (due to fatal error)
Oct 6 23:01:17 Ubuntu-server kernel: [16040.586424] type=1503 audit(1286395277.062:18): operation="open" pid=22610 parent=22608 profile="/usr/sbin/named" requested_mask="::r" denied_mask="::r" fsuid=109 ouid=33 name="/etc/smbind/smbind.conf"