[rsyslog] Output to named pipes not working on v4.5.5/5.2.0?

Rainer Gerhards rgerhards at hq.adiscon.com
Thu Nov 5 12:47:39 CET 2009


Looks like a trivial regression, fix here:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=a5cd509be736fcff3c8ae310
4712d2fe85776416

I'll now do some more checks and see if I can include an automatted test for
the pipe functionality so that a similar problem won't slip through in the
future :)

I will later apply the same fix to 5.2.0, it is the same problem.

Rainer

> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Luis Fernando Muñoz Mejías
> Sent: Wednesday, November 04, 2009 2:15 PM
> To: rsyslog at lists.adiscon.com
> Subject: Re: [rsyslog] Output to named pipes not working on v4.5.5?
> 
> So, this has two parts:
> 
> 1) A SELinux problem on RHEL5 and similar (but the logs show
>    nothing!!). It seems the syslog context is not allowed to access
>    FIFOs. I'll have to fix that.
> 
> 2) Even when there are no permission problems, rsyslog 4.5.5 just
>    doesn't write to a named pipe. From the following consecutive lines:
> 
> *.* |/var/log/external/fifo
> *.* /var/log/external/file
> 
> the file receives data, the FIFO doesn't.
> 
> I'll paste all this to bugzilla.
> 
> Cheers.
> --
> Luis Fernando Muñoz Mejías
> Luis.Fernando.Munoz.Mejias at cern.ch
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com


More information about the rsyslog mailing list