pdns changes the permissions when starting from the /run folder. This has serious consequences e.g. for sockets residing inside /run. The sockets can no longer be used and everything that has a socket under /run is permission denied. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/pdns start 2. ls -la /run 3. Actual Results: kepler /home/user # ls -la / | grep run drwxr-xr-x 18 root root 880 16. Jul 09:47 run kepler /home/user # /etc/init.d/pdns start * //run: correcting mode * //run: correcting owner * Starting PowerDNS Authoritative Server ... kepler /home/user # ls -la / | grep run drwxr-x--- 18 pdns pdns 920 16. Jul 11:11 run Expected Results: /run is not touched and others had the x and r bit
What are your chroot and socket-dir option in pdns.conf?
All my settings in /etc/powerdns/pdns.conf: allow-axfr-ips=xxxxxx also-notify=xxxxx any-to-tcp=yes entropy-source=/dev/urandom launch=gmysql gmysql-host=localhost gmysql-dbname=powerdns gmysql-user=xxxxxxx gmysql-password=xxxxx local-address=xxxxxx log-dns-details=yes log-timestamp=yes loglevel=7 master=yes server-id=ns.servername.com setgid=pdns setuid=pdns socket-dir=/run version-string=anonymous