[syslog-ng] [Bug 30] file() on fifo hangs syslog-ng

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Feb 5 11:27:23 CET 2009


https://bugzilla.balabit.com/show_bug.cgi?id=30


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Balazs Scheidler <bazsi at balabit.hu>  2009-02-05 11:27:23 ---
and here's the patch for validating file types:

commit 8ad0edb1e4198bbf657708d07360bbac8b30b55a
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Thu Feb 5 11:26:18 2009 +0100

    [affile] validate file type before opening

    report an error if a file is opened using the pipe() driver, OR a
    fifo is opened using the file() driver. named pipes should really be
    driven by the pipe() driver.


The validation could even be stricter, but I don't want to close out block/char devices if someone wants to write there, so only the FIFO file type is excluded
from using the file driver.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list