ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #00638
[Bug 716921] Re: rsyslog4: logrotate error
Hello Stefano,
Thank you very much for your feedback, it is always nice to know how an
update works before pushing it out to the stable community.
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/716921
Title:
rsyslog4: logrotate error
Status in IUS Community Project:
Fix Committed
Bug description:
I installed and started rsyslog4 from ius and stopped standard syslog
from original centos.
rsyslog4-4.4.2-5.ius.el5 include /etc/logrotate.d/rsyslog which is in
conflict with /etc/logrotate.d/syslog from sysklogd-1.4.1-46.el5.
Logrotate complains as follows
| From: Cron Daemon
| Subject: Cron run-parts /etc/cron.daily
|
| /etc/cron.daily/logrotate:
|
| error: syslog:1 duplicate log entry for /var/log/messages
| error: found error in /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron , skipping
As a workaroud I can
# rm /etc/logrotate.d/syslog
or
# rpm -e sysklogd
The best solution probably is to have not a separate logrotate file
for rsyslog4, but share /etc/logrotate.d/syslog with sysklogd, as
rsyslog-3.22.1-3.el5_5.1 from official centos repository does.
References