Problem with logrotate config for rsyslog
The file /etc/logrotate.d/rsyslog
has issues that causes nightly error mails to be sent
From the cron mail for /etc/periodic/daily/logrotate
error: rsyslog:1 duplicate log entry for /var/log/messages
error: found error in file rsyslog, skipping
error: stat of /var/log/boot.log failed: No such file or directory
There are two issues:
- nothing seems to create
/var/log/boot.log
and it is expected to be present - It lists
/var/log/messages
that is already listed in/etc/logrotate.conf