Bug 755970 - /etc/logrotate.d/bacula duplicate log entry for /var/log/bacula/bacula.log
Summary: /etc/logrotate.d/bacula duplicate log entry for /var/log/bacula/bacula.log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bacula
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-22 14:59 UTC by Jean-Eudes ONFRAY
Modified: 2012-06-11 09:53 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-11 09:53:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jean-Eudes ONFRAY 2011-11-22 14:59:52 UTC
Description of problem:

/etc/cron.daily/logrotate:
error: bacula:3 duplicate log entry for /var/log/bacula/bacula.log

/etc/logrotate.d/bacula contains 
/var/log/bacula/*.log /var/spool/bacula/log /var/log/bacula/bacula.log {

/var/log/bacula/*.log match /var/log/bacula/bacula.log that makes it duplicate.

Version-Release number of selected component (if applicable):
# rpm -q --whatprovides /etc/logrotate.d/bacula
bacula-common-5.0.3-9.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. run logrotate
  
Actual results:
/etc/cron.daily/logrotate:
error: bacula:3 duplicate log entry for /var/log/bacula/bacula.log

Expected results:
no output

Additional info:
remove /var/log/bacula/bacula.log from /etc/logrotate.d/bacula to avoid this error

Comment 1 Lukáš Nykrýn 2011-12-22 11:09:05 UTC
fix commited to git -> http://lists.fedoraproject.org/pipermail/scm-commits/2011-December/696791.html -> modified

Comment 2 Simone Caronni 2012-01-20 16:03:43 UTC
Updates bacula-5.0.3-19.fc15 and bacula-5.0.3-19.fc16 fix the problem.


Note You need to log in before you can comment on or make changes to this bug.