BIND 9.4.2 permission denied for custom log files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bind9
when creating custom log file configuration described in https:/
danja@blast:
May 29 17:54:44 blast named[11204]: logging channel 'query' file '/var/log/
May 29 17:54:44 blast named[11204]: isc_log_open '/var/log/
however permissions are set right:
danja@blast:
-rw-r--r-- 1 bind root 0 2008-05-29 17:26 /var/log/query.log
my current bind package is:
danja@blast:
bind9:
Installed: 1:9.4.2-10
Candidate: 1:9.4.2-10
Version table:
*** 1:9.4.2-10 0
500 http://
100 /var/lib/
Ubuntu:
danja@blast:
Description: Ubuntu 8.04
Release: 8.04
Somewhat this error seems similar to SELinux: http://
(search for "custom logs")
If you're using custom log files, you'll need to update the named AppArmor profile.
See https:/ /wiki.ubuntu. com/DebuggingAp parmor for more information about AppArmor profiles.