Red Hat Bugzilla – Bug 1474370
nagios post scriptlet uses reload instead of restart
Last modified: 2017-08-18 10:51:26 EDT
Description of problem:
When the nagios package is upgraded, the postinstall scriptlet runs systemctl reload on nagios.service, but the nagios.service file does not have an ExecReload entry.
Version-Release number of selected component (if applicable):
Run yum update nagios and update the nagios package.
An error is thrown during the update of the package.
Failed to reload nagios.service: Job type reload is not applicable for unit nagios.service.
See system logs and 'systemctl status nagios.service' for details.
warning: %post(nagios-4.3.2-5.el7.x86_64) scriptlet failed, exit status 3
Non-fatal POSTIN scriptlet failure in rpm package nagios-4.3.2-5.el7.x86_64
The service should be restarted without error on upgrade.
Mea culpa. I put in a patch to fix that and lost it somehow. I have done a new build which should show up in epel-testing soon
nagios-4.3.2-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-2017-289ebdb2bf
nagios-4.3.2-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.