[Pkg-nagios-devel] Bug#456958: Problems with stop in init script.

Marc Haber mh+debian-packages at zugschlus.de
Mon Feb 18 16:32:55 UTC 2008


tags #456958 confirmed pending
thanks

On Tue, Dec 18, 2007 at 01:14:03PM -0500, Petersen, Mark wrote:
> When using the nagios2 init script in this version, the process does not
> get killed.  The init script tries to stop nagios via 'killproc -p
> $THEPIDFILE' however, killproc can't determine the name of the process
> and tries to execute `/sbin/start-stop-daemon --stop --pidfile
> /var/run/nagios2/nagios2.pid --signal TERM --quiet --name` without
> specifying a name.  Changing the init script to 'killproc -p $THEPIDFILE
> $DAEMON" resolves the problem for me

This may be a corollary of an lsb-base bug in conjunction with an
ancieng but in start-stop-daemon which has caused a lot of grief but
was eventually fixed earlier this year. I have, however, followed your
suggestion in svn and killproc is now always given a process name.
This might probably help, and issues like that have been vanished in
other packages recently. So I hope that this has vanished in the mean
time, at least in Debian.

> Is it possible there is a dependency on an lsb-base > 3.0-3?  I back
> ported this to Ubuntu Edgy, but it seems to meet all the requirements to
> build and install with current Edgy packages.

I am not very motivated to do Ubuntu support, sorry.

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