[Pkg-nagios-devel] Bug#548157: nagios-nrpe-server: Seems to be a script problem

Michel Verdier mverdier at thalix.com
Fri Dec 17 18:26:16 UTC 2010


Package: nagios-nrpe-server
Version: 2.12-4
Severity: normal

It seems that the script contains an extra rm. I patched it like this :


--- /etc/init.d/nagios-nrpe-server.orig 2009-09-04 15:37:43.000000000 +0200
+++ /etc/init.d/nagios-nrpe-server      2010-12-17 19:18:30.166348873 +0100
@@ -46,7 +46,7 @@
        chown nagios "$PIDDIR"
 fi
 
-test -e $PIDDIR/nrpe.pid && rm $PIDDIR/nrpe.pid
+#test -e $PIDDIR/nrpe.pid && rm $PIDDIR/nrpe.pid
 
 set -e


The warning "Cannot remove pidfile '/var/run/nagios/nrpe.pid' - check your privileges." stopped.
The PID file is still correctly handled.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR at euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios-nrpe-server depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libssl0.9.8                   0.9.8o-4   SSL shared libraries
ii  libwrap0                      7.6.q-19   Wietse Venema's TCP wrappers libra
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

Versions of packages nagios-nrpe-server recommends:
ii  nagios-plugins                1.4.15-2   Plugins for the nagios network mon
ii  nagios-plugins-basic          1.4.15-2   Plugins for the nagios network mon

nagios-nrpe-server suggests no packages.

-- Configuration Files:
/etc/init.d/nagios-nrpe-server changed [not included]
/etc/nagios/nrpe_local.cfg changed [not included]

-- no debconf information





More information about the Pkg-nagios-devel mailing list