[Pkg-nagios-devel] Bug#411046: [pkg-nagios] r1574 - in nagios-nrpe/trunk/debian: . patches
paul at debian.org
Thu Jun 4 16:20:13 UTC 2009
On Sun 14 Sep 2008, Luk Claes wrote:
> + * Remove pid file before creating a new ones (Closes: #411046).
This is not the issue; the problem is that when nrpe is stopped, it
can't remove its own pid file, as it's written by root in /var/run/
which is only writeable by root. This leads to an error message sent to
syslog. When starting, the old one is overwritten without any problem.
As discussed earlier, the solution is to create a subdirectory in
/var/run/ (just like nagios itself does), chown it to nagios (if not
already done) and write the pidfile there.
I suggest using /var/run/nagios3/ as nagios uses that as well.
PS: pending? since September?
More information about the Pkg-nagios-devel