Skip to content

Commit b5efc0b

Browse files
committed
fix(debian): align Debian log directory with apparmor profile
Debian ships with an apparmor profile that specifies /var/log/named as the permissible log directory.
1 parent 7cad5ea commit b5efc0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bind/map.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'named_directory': '/var/cache/bind',
1616
'zones_directory': '/var/cache/bind/zones',
1717
'chroot_dir': '',
18-
'log_dir': '/var/log/bind9',
18+
'log_dir': '/var/log/named',
1919
'log_mode': '644',
2020
'user': 'bind',
2121
'group': 'bind',

test/integration/default/controls/config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
named_directory = '/var/cache/bind'
1212
zones_directory = '/var/cache/bind/zones'
1313
keys_directory = '/etc/bind/keys'
14-
log_directory = '/var/log/bind9'
14+
log_directory = '/var/log/named'
1515
keys_mode = '02755'
1616
conf_mode = '0644'
1717
config = '/etc/bind/named.conf'

0 commit comments

Comments
 (0)