Jorik Cronenberg
76349528f7
- When enabling query_logging by un-commenting an example in bind.conf, named attempts to create a file in /var/log which fails due to missing credentials. This also applies to the "dump-file" and the "statistics-file". This is solved by having systemd-tmpfiles create a subdirectory "/var/log/named" owned by named:named and changing the file paths accordingly: /var/log/named_querylog -> /var/log/named/querylog /var/log/named_dump.db -> /var/log/named/dump.db /var/log/named.stats -> /var/log/named/stats Also, in "named.service", the ReadWritePath was changed to include "/var/log/named" rather than just "var/log". [bsc#1200685, bind.conf, vendor-files/config/named.conf, vendor-files/system/named.service] OBS-URL: https://build.opensuse.org/request/show/992780 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=353
12 lines
444 B
Plaintext
12 lines
444 B
Plaintext
#Type Path Mode UID GID Age Argument
|
|
d /run/named 1775 root named - -
|
|
d /var/lib/named 1775 root named - -
|
|
d /var/lib/named/dyn 755 named named - -
|
|
d /var/lib/named/master 755 root root - -
|
|
d /var/lib/named/slave 755 named named - -
|
|
C /var/lib/named/127.0.0.zone - - - - -
|
|
C /var/lib/named/localhost.zone - - - - -
|
|
C /var/lib/named/named.root.key - - - - -
|
|
C /var/lib/named/root.hint - - - - -
|
|
d /var/log/named 750 named named - -
|