[Pkg-nagios-devel] Bug#404941: nagios-text: HOME env passed to plugins is not set properly

Evgeny Stambulchik fnevgeny at weizmann.ac.il
Fri Dec 29 13:17:41 UTC 2006


Package: nagios-text
Version: 2:1.3-cvs.20050402-2.sarge.2
Severity: normal

I noticed that $HOME in plugin scripts is /root, which prevents certain
commands (e.g. those that use $HOME/somepath for storing/reading in
prefs etc) to operate. Also, doesn't it mean that the root's privileges
aren't dropped entirely?

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.17.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-text depends on:
ii  libc6       2.3.2.ds1-22sarge4           GNU C Library: Shared libraries an
ii  libgd2-noxp 2.0.33-1.1sarge1             GD Graphics Library version 2 (wit
ii  libjpeg62   6b-10                        The Independent JPEG Group's JPEG 
ii  libpng12-0  1.2.8rel-1                   PNG library - runtime
ii  nagios-comm 2:1.3-cvs.20050402-2.sarge.2 A host/service/network monitoring 
ii  zlib1g      1:1.2.2-4.sarge.2            compression library - runtime

-- no debconf information




More information about the Pkg-nagios-devel mailing list