On SuSE 10.1 when trying to run "rndc stats" I get the "Permission
denied error.
host:/var/lib/named # rndc stats
rndc: 'stats' failed: permission denied

named is running in root-jail. All other rndc commands work without any
(visible) issues. 
The stats file is configured in the named.conf as
/var/lib/named/named.stats.
Even moving the file to a different location like /tmp/named.stats did
not solve the issue.

Running rndc dumpdb -all does not fail, but also does not produce any
output in the specified file.

I a spanish(?) list here on opensuse.org I found a hint that it might
have something to do with apparmor settings.


        directory "/var/lib/named";
        dump-file "named_dump.db";
        zone-statistics yes;
        statistics-file "named.stats";


Both files are created using "touch" and are owned by named.


Thanks for your help.

Oliver 
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to