[Pkg-nagios-devel] Bug#368684: nagios3: segfault caused by p1.pl being installed incorrectly

Marc Haber mh+debian-packages at zugschlus.de
Wed Jun 28 09:52:44 UTC 2006


On Tue, Jun 27, 2006 at 12:14:53PM +1200, Matt Brown wrote:
> Marc Haber wrote:
> > I have to disagree here. The directive is documented, and the default
> > config we ship correctly sets it. What else should we do?
> 
> I was thinking an entry in README.Debian or similar would be appropriate.

If we start mentioning every directive a user has stumbled over in
README.Debian, we'll end up replicating the entire upstream docs.
Which is a lot of work with no service to the user.

> > Additionally, I cannot reproduce the segfault when commenting the
> > p1_file directive from the default config. The nagios2 daemon just
> > keeps running.
> 
> Two factors here:
> 
> 1) As described in the original bug report the segfault happens some
> time after startup (1 minute in my case) - I suspect the time it crashes
> is the first time a perl check plugin is used.

I can now reproduce nagios exiting prematurely:
[6/126]root at nechayev[chroot sid]:/etc/nagios2/conf.d$ nagios2 /etc/nagios2/nagios.cfg

Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GPL

Nagios 2.4 starting... (PID=25248)
Can't open perl script "/usr/sbin/p1.pl": No such file or directory
[7/127]root at nechayev[chroot sid]:/etc/nagios2/conf.d$ echo $?
254

This does not seem to be a segfault though.

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