[Pkg-nagios-devel] Bug#499571: Init script fails inappropriately
jaredj at nmgi.com
Fri Sep 19 21:56:20 UTC 2008
/etc/init.d/nagios3 fails inappropriately when you try to start nagios
when it was already running, or reload it when it is not running:
# /etc/init.d/nagios3 start && echo "succeeded" || echo "failed"
Starting nagios3 monitoring daemon: nagios3already running! failed!
# /etc/init.d/nagios3 reload && echo "succeeded" || echo "failed"
Reloading nagios3 monitoring daemon configuration files:
nagios3/etc/init.d/nagios3: line 64: kill: (3782) - No such process
Not running. failed!
We have a third-party package which drops some files into nagios conf.d
and reloads nagios in their postinst; this operation fails when the init
script fails, leaving the packages in a seemingly broken state.
Software Developer and Support Engineer
Network Management Group, Inc.
More information about the Pkg-nagios-devel