syslog-ng and iptables logs

Jim Gifford lfs at jg555.com
Mon Feb 21 12:53:42 PST 2005


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");

 
 

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986




More information about the hlfs-dev mailing list