[Pkg-nagios-devel] nagios2 daemon and package purging

Marc Haber mh+pkg-nagios-devel at zugschlus.de
Tue Jan 31 21:35:34 UTC 2006

On Tue, Jan 31, 2006 at 03:56:19PM -0500, sean finney wrote:
> in the latest chunk of work i noticed that during package purge,
> the nagios2 daemon is not successfully killed.  this is because
> the /usr/sbin/nagios2 executable is removed before the postrm
> of nagios2-common is called.
> my thought is to remove the init script logic from the nagios2-common
> maintainerscripts, and manually place them in the nagios2 package.
> what do you think?

I'd probably have the "stop daemon" code in both packages, the package
that doesn't have the init script verifying that the init script is
still around. That is what the exim4 packages do.


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