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@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html