[Pkg-nagios-devel] Bug#606951: nsca: starts under user nobody instead of nagios

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Dec 20 11:47:49 UTC 2010


Hi,

I can confirm the bug, strace shows just

4361  stat("/var/lib/nagios3/rw/nagios.cmd", 0x7fff2ee45bb0) = -1 EACCES (Permission denied)
4361  open("/var/run/nagios/nsca.dump", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)

I can confirm that removing --chuid nobody from /etc/init.d/nsca
indeed makes passive checks work.

Is there any way to have send_nsca fail in the future in cases like
this? Now it just happily reported "1 data packet(s) sent to host
successfully." when nsca was discarding the report...








More information about the Pkg-nagios-devel mailing list