It seems that rsyslog was not handling the params to savelog as I
would have expected.
/usr/bin/savelog -pc 3 /var/log/messages ended up being
/usr/bin/savelog '-pc 3 /var/log/messages', which is not a file that
exists. Also /var/log needed to be owned by the PrivDropToUser.
FWIW
strace -fp rsy
On Oct 28, 2011, at 9:07 AM, Michael Hale wrote:
> I'm running on Ubuntu 10.04 LTS without SELinux and rsyslog-5.6.5.
> Just for grins I disabled PrivDropToUser and PrivDropToGroup so
> rsyslog is running as root, but that configuration is still unable to
> rotate the logfiles. I'll try updating t
yslog@lists.adiscon.com
> Betreff: [rsyslog] outchannel blocking
>
> Hi I am attempting to use outchannel to determisticly control the size
> of my log files. However, when my log file reaches the limit rsyslog
> simply blocks. Here is my configuration:
>
> $outchannel o_messages, /va
.
-Ursprüngliche Nachricht-
Von: rsyslog-boun...@lists.adiscon.com
[mailto:rsyslog-boun...@lists.adiscon.com] Im Auftrag von Michael Hale
Gesendet: Freitag, 28. Oktober 2011 07:26
An: rsyslog@lists.adiscon.com
Betreff: [rsyslog] outchannel blocking
Hi I am attempting to use outchannel to
Hi I am attempting to use outchannel to determisticly control the size
of my log files. However, when my log file reaches the limit rsyslog
simply blocks. Here is my configuration:
$outchannel o_messages, /var/log/messages, 3000, /usr/bin/savelog -pc
3 /var/log/messages
*.* $o_messages
I captured
5 matches
Mail list logo