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

Marc Haber mh+debian-packages at zugschlus.de
Mon Jun 26 13:19:56 UTC 2006


tags #368684 unreproducible
thanks

On Wed, May 24, 2006 at 08:16:19PM +1200, Matt Brown wrote:
> Marc Haber wrote:
> > Can you give a example configuration?
> 
> Well, in the course of trying to narrow down my configuration to a set
> of directives that triggers the error I came across a directive shipped
> in the default nagios.cfg that is not in my configuration.
> 
>  p1_file=/usr/lib/nagios2/p1.pl
> 
> I don't actually use the embedded perl interpreter (that I know of) so
> my configuration (which was originally for Nagios 2.0) did not contain
> this directive.
> 
> Adding this directive to my configuration resolves the error.

Fine.

> As far as I can tell this is an undocumented directive, but one that any
> Debian based configuration will need seeing as p1.pl has been relocated
> from its default location.

Actually, the directive is documented in the "what's new" part of the
documentation, and in the main configuration documentation.

> So I guess this now becomes a documentation bug :)

I have to disagree here. The directive is documented, and the default
config we ship correctly sets it. What else should we do?

Additionally, I cannot reproduce the segfault when commenting the
p1_file directive from the default config. The nagios2 daemon just
keeps running.

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