Skip to content

Commit

Permalink
fix(debian): align Debian log directory with apparmor profile
Browse files Browse the repository at this point in the history
Debian ships with an apparmor profile that specifies /var/log/named as
the permissible log directory.
  • Loading branch information
tedski committed Mar 23, 2020
1 parent 7cad5ea commit b5efc0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bind/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'named_directory': '/var/cache/bind',
'zones_directory': '/var/cache/bind/zones',
'chroot_dir': '',
'log_dir': '/var/log/bind9',
'log_dir': '/var/log/named',
'log_mode': '644',
'user': 'bind',
'group': 'bind',
Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/controls/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
named_directory = '/var/cache/bind'
zones_directory = '/var/cache/bind/zones'
keys_directory = '/etc/bind/keys'
log_directory = '/var/log/bind9'
log_directory = '/var/log/named'
keys_mode = '02755'
conf_mode = '0644'
config = '/etc/bind/named.conf'
Expand Down

0 comments on commit b5efc0b

Please sign in to comment.