Move logs to someplace apparmor allows by default
authorAlex Dehnert <adehnert@mit.edu>
Wed, 19 Dec 2018 05:36:52 +0000 (00:36 -0500)
committerAlex Dehnert <adehnert@mit.edu>
Wed, 19 Dec 2018 05:36:52 +0000 (00:36 -0500)
Logging still doesn't seem to work on adehnert3.xvm, though.

named.conf.local

index 99249f61ee3ec3ea9f756e0951a9dee1ef374216..269a2616ea243cf416f03c409946b036318722c1 100644 (file)
@@ -41,7 +41,7 @@ zone "dehnerts.com" IN {
 
 logging {
     channel query.log {
 
 logging {
     channel query.log {
-        file "/var/log/bind/query.log" versions 10 size 100M;
+        file "/var/log/named/query.log" versions 10 size 100M;
         // Set the severity to dynamic to see all the debug messages.
         severity debug 3;
         print-category yes;
         // Set the severity to dynamic to see all the debug messages.
         severity debug 3;
         print-category yes;