[syslog-ng] running as non-root doesn't get kernel log

Carlos Carvalho carlos at fisica.ufpr.br
Mon Jan 29 17:59:22 CET 2007


Hari Sekhon (hpsekhon at googlemail.com) wrote on 29 January 2007 15:23:
 >then the question is does it fail to open the /var/log/kernel/log file 
 >before or after dropping root privs

It doesn't fail to open in the sense that it tries and doesn't get it,
otherwise I'd see the open call in strace and the permission denied
return. It seems it simply doesn't do the open.

 >and can you solve this by granting the "logger" group the privs on
 >the files?

That's how it is. All destinations belong to the user syslog-ng
switches to.


More information about the syslog-ng mailing list