5 Feb
2011
5 Feb
'11
6:09 p.m.
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