Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pdns_server does not start correctly when systemd service is using Type=notify and is chrooted #4179
When /lib/systemd/system/pdns.service is configured with Type=notfiy and Powerdns is configured to use chroot systemctl start pdns only hangs and never finishes.
Strace output from systemctl start pdns:
My current workaround is:
(Basicly changing the systemd type to forking and setting daemon to yes)
Using PowerDNS Debian repo:
referenced this issue
Sep 25, 2016
Another workaround is to get the systemd notify thing to run by doing this:
So the pdns can notify the systemd over the socket.
As a systemd file this would be:
Put the following into /lib/systemd/system/var-chroot-run-systemd-notify.mount
After creation do not forget to do:
If it was an success enable it: