[syslog-ng]replacing Linux klogd by a chrooted syslog-ng running as a non root user

Guillaume LACHENAL glachenal@on-x.com
Thu, 7 Nov 2002 14:25:44 +0100


from  http://www.campin.net/syslog-ng/faq.html

> Q: I want to replace syslogd *and* klogd on my Linux box with syslog-ng.
>
> A: Use a source line like this in your conf file to read kernel 
messages, too.
>    source src { pipe("/proc/kmsg"); unix-stream("/dev/log"); internal(); 
};
>
>    Note: do not run klogd and syslog-ng fetching local kernel messages 
at the 
>    same time. It may cause syslog-ng to block which makes all logging 
local
>    daemons unusable.

As /proc/kmsg and /dev/log are outside the jail, is there a way to do the
same thing with a chrooted syslog-ng ?

Thanks

Regards,
Guillaume