From 8117270c122cf1c4a19b12f0d98cdbcce4eb2db5 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 17 May 2020 11:02:46 +0200 Subject: powerdns: T2470: adjust config file permissions for recursor 4.3 PowerDNS recursor 4.3 now uns as user pdns and group pdns, thus the generated configuration file and directory need to have the appropriate permissions set. --- src/conf_mode/dns_forwarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py index 7f7417b00..f87c198f7 100755 --- a/src/conf_mode/dns_forwarding.py +++ b/src/conf_mode/dns_forwarding.py @@ -152,7 +152,7 @@ def generate(dns): if dns is None: return None - render(config_file, 'dns-forwarding/recursor.conf.tmpl', dns, trim_blocks=True) + render(config_file, 'dns-forwarding/recursor.conf.tmpl', dns, trim_blocks=True, user='pdns', group='pdns') return None def apply(dns): -- cgit v1.2.3