[Pkg-nagios-devel] Bug#537997: nrpe server should cleanup **environ at startup

Harald Dunkel harald.dunkel at aixigo.de
Wed Jul 22 10:23:18 UTC 2009


Package: nagios-nrpe-server
Version: 2.12-1

If root does "/etc/init.d/nagios-nrpe-server restart" or
"invoke-rc.d nagios-nrpe-server restart", then nrpe runs
with a new environment inherited from root's interactive
shell. DISPLAY, LANG, PATH and all the others are inherited
by the plugins. This has unpredictable side effects.

I would suggest that nrpe cleans up the environment before
running the plugins.


Regards

Harri






More information about the Pkg-nagios-devel mailing list