Description of problem: PowerDNS does not return exit code 0 when stopping the daemon. Version-Release number of selected component (if applicable): pdns-3.1-2.fc16 pdns-3.1-2.fc17 pdns-3.1-2.fc18 pdns-3.0.1-2.fc17 pdns-3.0.1-1.fc16 How reproducible: Install pdns and stop the daemon. [root@fc18 ~]# systemctl stop pdns.service [root@fc18 ~]# cat /var/log/messages ... Sep 20 19:58:44 fc18 pdns[604]: Scheduling exit on remote request Sep 20 19:58:44 fc18 pdns_control[965]: Scheduling exit Sep 20 19:58:44 fc18 pdns[604]: Guardian is killed, taking down children with us Sep 20 19:58:44 fc18 systemd[1]: pdns.service: main process exited, code=exited, status=1 Sep 20 19:58:44 fc18 systemd[1]: Unit pdns.service entered failed state. [root@fc18 ~]# systemctl status pdns.service pdns.service - PDNS DNS Server Loaded: loaded (/usr/lib/systemd/system/pdns.service; enabled) Active: failed (Result: exit-code) since Thu, 20 Sep 2012 19:58:44 +0200; 2min 32s ago Process: 965 ExecStop=/usr/bin/pdns_control quit (code=exited, status=0/SUCCESS) Process: 592 ExecStart=/usr/sbin/pdns_server --daemon --guardian=yes (code=exited, status=0/SUCCESS) Main PID: 604 (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/pdns.service Expected results: exit code 0
Created attachment 616478 [details] PowerDNS Patch to return exit code 0 when stopping After applying this patch, the pdns daemon returns exit code 0 when stopping
pdns-3.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/FEDORA-2012-14435/pdns-3.1-3.fc16
pdns-3.1-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2012-14494/pdns-3.1-3.fc17
pdns-3.1-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/pdns-3.1-4.fc18
Package pdns-3.1-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pdns-3.1-3.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14494/pdns-3.1-3.fc17 then log in and leave karma (feedback).
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fixed in: pdns-3.1-3.fc16 pdns-3.1-3.fc17 pdns-3.1-4.fc18