[Pkg-nagios-devel] Bug#663047: nsca: race condition when opening command file
Matej Vela
vela at debian.org
Sat Mar 17 16:16:14 UTC 2012
Matej Vela <vela at debian.org> writes:
> I haven't heard back from upstream, so I hope this can at least be fixed
> in the Debian package. Also <https://dev.icinga.org/issues/2400>.
>
>> There is a race condition in src/nsca.c:open_command_file between
>> stat() and fopen(). If the command file exists at the point of
>> stat(), but is then removed before fopen() (typically by the Nagios
>> init script), nsca will create an empty file instead of a named pipe.
>> In our case, this would happen at least once every 2-3 reboots.
[...]
No dice on tracker.nagios.org, but it's been accepted at dev.icinga.org.
Anything else I can do to help things along?
Thanks,
Matej
More information about the Pkg-nagios-devel
mailing list