ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #00628
[Bug 716921] Re: rsyslog4: logrotate error
The latest rsyslog4 package has been built and pushed to IUS testing,
this update resolves the above issue by sharing the logrotate.d/syslog
config file:
%changelog
* Fri Feb 11 2011 Jeffrey Ness <jeffrey.ness@xxxxxxxxxxxxx> - 4.6.5-2.ius
- Moving logrotate file from rsyslog to syslog to mimic Fedora
and to resolve LP#716921
We would really appreciate if you could test out this new package and
give us any feedback:
yum install rsyslog4 --enablerepo=ius-testing
P.S. As this package has just been pushed it can take up to 24hours to
sync across all mirror servers.
** Changed in: ius
Status: Confirmed => Fix Committed
--
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