Am 2014-03-15 17:40, schrieb Harald Dunkel:
Hi Michael,
On 03/14/14 22:00, Michael Biebl wrote:
Could you check if any file (besides rsyslog) in /etc/logrotate.d/
references /var/log/messages?
Just /etc/logrotate.d/rsyslog (attached). Is it possible that
there is some race condition between rotating /var/log/syslog
and /var/log/messages, both using "invoke-rc.d rsyslog rotate"?
I don't think there should be a race. That said, you could try merging
the two section, like this
/var/log/syslog
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]