syslog-ng and iptables logs

Robert Connolly robert at linuxfromscratch.org
Mon Feb 21 13:16:22 PST 2005


On February 21, 2005 03:53 pm, Jim Gifford wrote:
> T_B wrote:
> >"Steve Crosby" <fost at hotmail.com> wrote in message
> >news:Xns9601A9425CD56fostlongstrider at 216.171.238.83...
> >
> >>Robert Connolly <robert at linuxfromscratch.org> wrote in
> >>news:200502172211.16388.robert at linuxfromscratch.org:
> >>
> >>The probable reason for the failure is that the pipe() directive actually
> >>opens  as read\write - using file() instead (as Robert pointed out)
> >> should work okay (will test myelf in a few hours).
> >
> >I have tried file instead of pipe - it makes no difference.
> >
> >I have tries "chgrp syslog /proc/kmsg" and "chmod 440 /proc/kmsg" before
> >launching syslog-ng - it makes no difference.  Still get the read io error
> >and no kernel messages.
> >
> >Bill
>
> Try changing the pipe("/proc/kmsg");
> to
> file("/proc/kmsg");

It doesn't change the error.

robert



More information about the hlfs-dev mailing list