Nagios leaking file descriptors ?

Robert M. Albrecht romal at gmx.de
Wed Oct 29 11:42:07 CET 2008


Hi,

SELinux seems to have found a bug in Nagios.

https://bugzilla.redhat.com/show_bug.cgi?id=462896

This says the ping command is reading /var/spool/nagios/cmd/nagios.cmd, 
which seems highly unlikely.  Looks like a leaked file descriptor.
nagios should close all open file descriptors before execing apps.
fcntl(fd, F_SETFD, FD_CLOEXEC)

Any ideas ?

cu romal

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list