/etc/rsyslog.conf permissions incorrect/missing for creation of dynamic files
Binary package hint: rsyslog
When using templates to create dynamic directories and files with rsyslog, rsyslog can create the directories, but does not have the appropriate permissions to create files within them.
By default, directories created by rsyslog are owned root:root and generates an error in /var/log/syslog as follows:
Furthermore, adding $DirOwner and $DirGroup to match those of $FileOwner and $FileGroup, the setting '$PrivDropToGroup syslog' further prevents rsyslog from creating dynamic files. Setting '$PrivDropToGroup adm' resolves this issue.
Attached is a patch that corrects these issues.
|Peter Horvath (peter-horvath77) wrote : Re: [Bug 484336] Re: /etc/rsyslog.conf permissions incorrect/missing for creation of dynamic files||#19|