Bug 546561
| Summary: | /etc/init.d/nagios status always returns 0 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ricky Zhou <rzhou> | ||||||
| Component: | nagios | Assignee: | Peter Lemenkov <lemenkov> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 12 | CC: | blogcomment, mmcgrath, redhat, sebastian.gosenheimer, wtogami | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | nagios-3.2.0-4.fc11 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-03-09 03:16:04 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ricky Zhou
2009-12-11 08:49:27 UTC
Reassigning to new owners. In the attached patch, the if [ $RETVAL = 0]; then maybe should be if [ $RETVAL = 0 ]; then Created attachment 389690 [details]
Fix status return code and nagios.pid SELinux context.
Good catch, here's a new patch with your fix.
Ping, any update on this? This is breaking tools (like puppet) that depend on the return status of initscripts to tell if nagios is running, and the SELinux issue is making the initscript fail on machines with SELinux enforcing. I'll fix it very soon. Thanks you for patch. nagios-3.2.0-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc12 nagios-3.2.0-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc13 nagios-3.2.0-4.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc11 nagios-3.2.0-4.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-2903 nagios-3.2.0-4.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2917 nagios-3.2.0-4.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2957 nagios-3.2.0-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. nagios-3.2.0-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. nagios-3.2.0-4.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |