Bug#414050: [Pkg-nagios-devel] Bug#414050: nagios2-common: /etc/init.d/nagios2 needs sleep call for restart target

Marc Haber mh+debian-packages at zugschlus.de
Mon Mar 19 18:22:09 CET 2007


On Thu, Mar 08, 2007 at 04:06:35PM -0600, Matt Zagrabelny wrote:
> nagios2 fails to start cleanly (some of the time) due to an apparent
> race condition in the 'restart' target for /etc/init.d/nagios2.

This might be caused by the LSB function deleting the pid file too
early. This is a bug in lsb-base, see #410622.

Can you try commenting out the last "rm -f "$pidfile"" in killproc in
/lib/lsb/init-functions and try to reproduce the bug? On my test
system, everything is fine.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-nagios-devel mailing list