[syslog-ng] running as non-root doesn't get kernel log
Hari Sekhon
hpsekhon at googlemail.com
Mon Jan 29 13:13:59 CET 2007
Have you tried adding the syslog-ng user to a group and granting
permissions on /dev/log or whatever you have to that group such
chown root:logger /dev/log
ls -l /dev/log
srw-rw-rw- 1 root logger 0 Jan 27 03:10 /dev/log=
Then restart syslog-ng and it should be able to read from the socket.
-h
Hari Sekhon
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
> made sure that events were being generated. Running as root strace
> shows the kernel destination being opened, and the events are recorded
> in the file.
>
> Any ideas?
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
>
More information about the syslog-ng
mailing list