Bug 859898
| Summary: | pdns daemon does not return exit code 0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Morten Stevens <ms> | ||||
| Component: | pdns | Assignee: | Morten Stevens <ms> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | ms, ruben | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-10-15 12:36:14 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 |
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