Bug 755970

Summary: /etc/logrotate.d/bacula duplicate log entry for /var/log/bacula/bacula.log
Product: [Fedora] Fedora Reporter: Jean-Eudes ONFRAY <je>
Component: baculaAssignee: Andreas Thienemann <andreas>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: andreas, dnovotny, fedora, fschwarz, gwync, hhorak, lnykryn, negativo17, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-11 09:53:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.