← Back to team overview

ius-coredev team mailing list archive

[Bug 716921] Re: rsyslog4: logrotate error

 

Thank you for the feedback... I do see that the stock packages both own
the /etc/logrorate.d/syslog file:

[root@208934-el5-64 ~]# rpm -qf /etc/logrotate.d/syslog 
sysklogd-1.4.1-46.el5.x86_64
rsyslog-3.22.1-3.el5_5.1.x86_64

It should be a problem to implement this.


** Branch linked: lp:~ius-coredev/ius/rsyslog4

** Changed in: ius
   Importance: Undecided => Low

** Changed in: ius
     Assignee: (unassigned) => Jeffrey Ness (jeffrey-ness)

** Changed in: ius
       Status: New => Confirmed

-- 
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:
  Confirmed

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