[syslog-ng] running as non-root doesn't get kernel log
SZALAY Attila
sasa at pheniscidae.tvnetwork.hu
Mon Jan 29 15:37:50 CET 2007
Hi All!
On Mon, 2007-01-29 at 09:37 -0200, Carlos Carvalho wrote:
> I'm trying to run syslog-ng 2.0.0 as a user that's not root via the -u
> option. The problem is that it doesn't get the kernel log. Tracking
> with strace shows that it doesn't open the kernel destination file. I
The question is that syslog-ng try to open kernel _source_ file or not?
(The kernel source file is /proc/kmsg) If syslog-ng doesn't have the
right to open (or read when SELinux is installed) this socket than it
cannot read the log messages.
More information about the syslog-ng
mailing list