[Pkg-nagios-devel] Bug#646976: nagios-nrpe-server: restart/reload fails due to wrong pidfile in init script

Gleim Publications NOC debian_bug_reports at gleim.com
Fri Oct 28 19:27:13 UTC 2011

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

/etc/init.d/nagios-nrpe-server incorrectly sets PIDFILE=/var/run/nrpe.pid.
The correct setting is PIDFILE=/var/run/nagios/nrpe.pid.

This causes all actions other than "start" to silently fail. The most obvious
symptom is that configuration changes will not take effect after a "reload"
or "restart".

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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-10        Embedded GNU C Library: Shared lib
ii  libssl0.9.8             0.9.8o-4squeeze3 SSL shared libraries
ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

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

nagios-nrpe-server suggests no packages.

-- Configuration Files:
/etc/init.d/nagios-nrpe-server [Errno 13] Permission denied: u'/etc/init.d/nagios-nrpe-server'
/etc/nagios/nrpe_local.cfg changed [not included]

-- no debconf information

More information about the Pkg-nagios-devel mailing list