Logging problems on Bind9
Hauke Lampe
list+bindusers at hauke-lampe.de
Mon Jan 11 12:15:13 UTC 2010
Autuori Gianluigi wrote:
> I'm using Bind9 and Ubuntu 8.04 kernel 2.6.24.
> Named runs as bind user and in my named.conf.local I wrote:
Ubuntu uses AppArmor (http://en.wikipedia.org/wiki/AppArmor)
You need to edit the profile for usr.sbin.named in /etc/apparmor.d/ if
you want named to write files outside the allowed directories.
The easier way would be to move your query.log to /var/log/named/ as
this directory is allowed by default.
/etc/apparmor.d/usr.sbin.named:
/usr/sbin/named {
[...]
# some people like to put logs in /var/log/named/ instead of having
# syslog do the heavy lifting.
/var/log/named/** rw,
/var/log/named/ rw,
}
HTH,
Hauke.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100111/29f81f9a/attachment.bin>
More information about the bind-users
mailing list