[syslog-ng] syslog-ng deadlock if /dev/console locks?
Balazs Scheidler
bazsi at balabit.hu
Sat Feb 5 19:09:07 CET 2011
On Tue, 2011-02-01 at 17:31 -0600, Paul Krizak wrote:
> FYI, we have found experimentally that syslog-ng 3.1.2 will use poll()
> on /dev/console without complaining, and that doing this actually seems
> to solve the problem. We have not been able to reproduce the console
> hang after switching the console destination to use poll() instead of
> file().
I guess you are referring to pipe(), not poll(), as the latter is a
system call.
But yes, in the knowledge of the code, syslog-ng should behave properly
in this case.
But that's what my patch also implements.
--
Bazsi
More information about the syslog-ng
mailing list