[Nagiosplug-devel] nagios ircd plugin fix
Blaz Zupan
blaz at amis.net
Thu Aug 12 06:35:05 CEST 2004
I'm not subscribed to this list, so this mail will hopefully get through.
I'm the maintainer of the FreeBSD port of nagios-plugins. I've received the
following contribution and added it to the FreeBSD port of nagios plugins. I
think this is a general fix that should be included in the
nagios-plugins distribtion, so I'm sending it to this list.
---------- Forwarded message ----------
Date: Tue, 10 Aug 2004 11:03:40 +0300
From: Martin Tsachev <martin at mtweb.org>
To: Blaz Zupan <blaz at si.FreeBSD.org>
Subject: Re: nagios ircd plugin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 10 August 2004 08:40, you wrote:
> > Please apply the following patch to the ircd check plugin:
> >
> > - --- check_ircd Mon Aug 9 19:10:26 2004
> > +++ check_ircd.new Mon Aug 9 19:10:55 2004
> > @@ -67,6 +67,7 @@
> > $ENV{PATH} = "";
> > $ENV{ENV} = "";
> > $ENV{BASH_ENV} = "";
> > +$ENV{CDPATH} = "";
>
> Sure, could you please just elaborate on what problem it fixes (I don't use
> the plugin myself)?
The check_ircd script is run in perl's tainted mode. Perl checks for some
insecure environment variables and if they are set refuses to run.
In my case I have CDPATH set globally on the system so this is the only way to
run the check script.
- --
Martin Tsachev
http://martin.f2o.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)
iD8DBQFBGIFeypytlz9Py3wRAifuAJ49kyzmbXmEtJjAlVR3BxgWSC8uYwCeN12u
Uyr6HAF2C0/Zi7JygoMabT4=
=IY4z
-----END PGP SIGNATURE-----
More information about the Devel
mailing list