[Bug 484336] Re: /etc/rsyslog.conf permissions incorrect/missing for creation of dynamic files
Peter Horvath
484336 at bugs.launchpad.net
Fri Feb 22 14:58:50 UTC 2013
We changed to this and chowned some dirs which needed but rarely needed.
$PrivDropToUser syslog
$PrivDropToGroup adm
On 22 February 2013 14:40, Vincens Mink <vincens at ribermink.com> wrote:
> 12.04.1 LTS
> Workaround does not work.
> But if you drop both Group and Owner to adm dynamic files can be created,
> have not tried with directories.
>
> $PrivDropToUser adm
> $PrivDropToGroup adm
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (878857).
> https://bugs.launchpad.net/bugs/484336
>
> Title:
> /etc/rsyslog.conf permissions incorrect/missing for creation of
> dynamic files
>
> Status in “rsyslog” package in Ubuntu:
> Confirmed
>
> Bug description:
> 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:
>
> rsyslogd: Cout not open dynamic file '...' -
> discarding message
>
> 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.
>
> Rich
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/484336/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/484336
Title:
/etc/rsyslog.conf permissions incorrect/missing for creation of
dynamic files
Status in “rsyslog” package in Ubuntu:
Confirmed
Bug description:
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:
rsyslogd: Cout not open dynamic file '...' -
discarding message
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.
Rich
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/484336/+subscriptions
More information about the foundations-bugs
mailing list