From 6d8d3be61bbf9539ea12f8da624a302741d08f1a Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 27 Apr 2020 09:22:35 +0200 Subject: [PATCH] [bind] Fix apparmor --- roles/bind-authoritative/templates/bind/named.conf.local.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/bind-authoritative/templates/bind/named.conf.local.j2 b/roles/bind-authoritative/templates/bind/named.conf.local.j2 index 71d37e45..03ec5f08 100644 --- a/roles/bind-authoritative/templates/bind/named.conf.local.j2 +++ b/roles/bind-authoritative/templates/bind/named.conf.local.j2 @@ -49,7 +49,8 @@ zone "_acme-challenge.crans.org" { zone "{{ zone }}" { {% if is_master -%} type master; - file "/var/local/re2o-services/dns/generated/dns.{{ zone }}.zone"; + // Apparmor: Need to ln -s /var/cache/bind/generated /var/local/re2o-services/dns/generated + file "generated/dns.{{ zone }}.zone"; allow-transfer { {% for ip in slaves_ipv4 -%} {{ ip }};