Description of problem: There is a syntax error in the /etc/rc.d/init.d/nagios init script for the latest update of Nagios in EPEL-6: # service nagios status /etc/init.d/nagios: line 153: syntax error near unexpected token `}' /etc/init.d/nagios: line 153: `}' This is in the 'printstatus_nagios' function, which looks like printstatus_nagios () { if status_nagios; then # <-- Spurious line status_nagios $1 $2 RETVAL=$? if [ $RETVAL = 0 ]; then echo "nagios (pid $NagiosPID) is running..." else echo "nagios is not running" fi return $RETVAL } The first line in the body ('if status_nagios; then'; I have marked it with an arrow above) shouldn't be there. If I comment it out, the init script works as it should. This would cause Nagios to not start after a reboot. Version-Release number of selected component (if applicable): 4.4.3-1.el6.x86_64
*** Bug 1672534 has been marked as a duplicate of this bug. ***
nagios-4.4.3-3.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-973d5749b1
Please test and if you have a Fedora account leave Karma on https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-973d5749b1 so it can be pushed to stable sooner than 2 weeks. My apologies for missing this blatant bug.
nagios-4.4.3-3.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-2019-973d5749b1
nagios-4.4.3-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.