Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1637727
Summary: | nrpe does not start on RHEL 7.5 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Mauricio Teixeira <mteixeira> |
Component: | nrpe | Assignee: | Stephen John Smoogen <smooge> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | athmanem, b.heden, jchristi, jordan.english, jose.p.oliveira.oss, ondrejj, smooge, smooge, s, swilkerson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nrpe-3.2.1-8.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-19 15:41:27 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: |
Description
Mauricio Teixeira
2018-10-09 21:35:13 UTC
Do you have the nrpe-selinux rpm installed? If you do please do an audit2allow and see what might be stopping. I tried to install "nrpe-selinux" and the problem persists (nothing was logged to audit.log). Problem is one that should have been caught earlier and the package never been pushed to stable. This is on me. The /etc/nagios/nrpe.cfg does not define the pid_file. It is left undefined and also points to the wrong place of /var/run/nrpe.pid The systemd startup however needs the pid_file so that it can properly restart (and fix some other outstanding bugs). It wants it to be in /var/run/nrpe/nrpe.pid The fix will be define the correct entry in /etc/nagios/nrpe.cfg and restart nrpe. I will work on a fixed package and get it out as soon as possible. Stephen, this is causing headaches for my team and I, can you push the fix? The problem is trying to figure out why the fix was not included in the build as given. The configure script has a --with-pidfile assigned to the correct directory and it seems to do the right thing when I do a rpmbuild it was set up correctly without me doing any changes to the existing src.rpm pid_file=/var/run/nrpe/nrpe.pid However what came out of the build system does not have this. I am working through what could have caused this and hope to have a fixed package. It will however not fix any systems which have an edited /etc/nagios/nrpe.cfg Those will have a rpmnew and the old config won't have it. Please check to see if there is a /etc/nagios/nrpe.cfg.rpmnew in the systems. The boxes I found not working had an rpmnew from 2017 where the pid_file had been defined for the correct place. The change which seems to have broken was trying to fix another issue 096a4983 nrpe.service.epel (Stephen Smoogen 2018-07-24 17:01:19 -0400 18) ExecReload=/bin/kill -HUP $MAINPID 096a4983 nrpe.service.epel (Stephen Smoogen 2018-07-24 17:01:19 -0400 19) ExecStopPost=/bin/rm -f /var/run/nrpe/nrpe.pid 096a4983 nrpe.service.epel (Stephen Smoogen 2018-07-24 17:01:19 -0400 20) PIDFile=/var/run/nrpe/nrpe.pid nrpe-3.2.1-8.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-7f7330f37a *** Bug 1639819 has been marked as a duplicate of this bug. *** nrpe-3.2.1-8.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-7f7330f37a nrpe-3.2.1-8.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |