Created attachment 1239459 [details] NRPE service with reload support Description of problem: The systemd service file for nrpe doesn't support the reload command which the init script did support. Attached is an updated systemd service file which supports the reload command. I've forwarded a similar change for inclusion in the sample service file provided by upstream, see: https://github.com/NagiosEnterprises/nrpe/pull/90
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
nrpe-3.0.1-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c4f49632d3
nrpe-3.0.1-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a89da38bf3
Thanks for updating the NRPE service file. I noticed that the changes committed also drop support for the NRPE_SSL_OPT variable set in /etc/sysconfig/nrpe, I don't think that is desirable.
Created attachment 1259905 [details] Restore support for NRPE_SSL_OPT variable in systemd service files
nrpe-3.0.1-4.fc24 has been pushed to the Fedora 24 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-2017-c4f49632d3
nrpe-3.0.1-4.fc25 has been pushed to the Fedora 25 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-2017-a89da38bf3
OK I think I have gotten all the changes needed back into it. I hope to have it in the -5 build later today.
nrpe-3.0.1-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f92515d27
nrpe-3.0.1-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d12527a635
nrpe-3.0.1-6.fc24 has been pushed to the Fedora 24 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-2017-8f92515d27
nrpe-3.0.1-6.fc25 has been pushed to the Fedora 25 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-2017-d12527a635
# rpm -q nrpe && systemctl reload nrpe && journalctl -f nrpe-3.0.1-6.fc25.x86_64 -- Logs begin at Wed 2017-05-10 22:06:11 PDT. -- May 10 23:10:49 disko systemd[1]: Reloading Nagios Remote Program Executor. May 10 23:10:49 disko nrpe[5761]: Caught SIGHUP - restarting... May 10 23:10:49 disko nrpe[5761]: Server listening on 127.0.0.1 port 5666. May 10 23:10:49 disko nrpe[5761]: Listening for connections on port 5666 May 10 23:10:49 disko nrpe[5761]: Allowing connections from: 127.0.0.1 May 10 23:10:49 disko systemd[1]: Reloaded Nagios Remote Program Executor. ^C
nrpe-3.1.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-665b1abde6
nrpe-3.1.0-3.fc25 has been pushed to the Fedora 25 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-2017-665b1abde6
This worked with nrpe-3.0.1-6.fc25, but not with nrpe-3.1.0-3.fc25: # rpm -q nrpe && systemctl reload nrpe nrpe-3.1.0-3.fc25.x86_64 Failed to reload nrpe.service: Job type reload is not applicable for unit nrpe.service. See system logs and 'systemctl status nrpe.service' for details. That's because nrpe.service is missing an ExecReload command (like nrpe-3.0.1-6.fc25 used to have). Workaround: # systemctl edit nrpe.service # cat /etc/systemd/system/nrpe.service.d/override.conf [Service] PIDFile=/var/run/nrpe/nrpe.pid ExecReload=/bin/kill -HUP $MAINPID ExecStopPost=/bin/rm -f /var/run/nrpe/nrpe.pid # rpm -q nrpe && systemctl reload nrpe && journalctl -f nrpe-3.1.0-3.fc25.x86_64 May 15 13:34:53 disko systemd[1]: Reloading Nagios Remote Program Executor. May 15 13:34:53 disko nrpe[20635]: Caught SIGHUP - restarting... May 15 13:34:53 disko nrpe[20635]: Server listening on 127.0.0.1 port 5666. May 15 13:34:53 disko systemd[1]: Reloaded Nagios Remote Program Executor. May 15 13:34:53 disko nrpe[20635]: Listening for connections on port 5666 May 15 13:34:53 disko nrpe[20635]: Allowing connections from: 127.0.0.1
nrpe-3.1.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-69a58c7a69
nrpe-3.1.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-eb24165ee1
nrpe-3.1.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-be117b53a8
nrpe-3.1.1-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-92879f40b9
nrpe-3.1.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-f37341bbab
nrpe-3.1.1-1.el6 has been pushed to the Fedora EPEL 6 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-2017-92879f40b9
nrpe-3.1.1-1.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-2017-f37341bbab
nrpe-3.1.1-1.fc24 has been pushed to the Fedora 24 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-2017-be117b53a8
nrpe-3.1.1-1.fc25 has been pushed to the Fedora 25 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-2017-eb24165ee1
nrpe-3.1.1-1.fc26 has been pushed to the Fedora 26 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-2017-69a58c7a69
nrpe-3.1.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
nrpe-3.1.1-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
nrpe-3.1.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
nrpe-3.1.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
nrpe-3.1.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.