Bug 540861 - bacula doesn't install "applybaculadate" logwatch script, breaks logwatch
Summary: bacula doesn't install "applybaculadate" logwatch script, breaks logwatch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bacula
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-24 11:48 UTC by Paul Howarth
Modified: 2009-12-18 04:18 UTC (History)
4 users (show)

Fixed In Version: 3.0.3-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-18 04:18:41 UTC
Type: ---


Attachments (Terms of Use)

Description Paul Howarth 2009-11-24 11:48:31 UTC
Description of problem:
bacula-director-common includes a logwatch script that references a script "applybaculadate" but does not include that script (though upstream include it).

Version-Release number of selected component (if applicable):
3.0.2-4.fc12

How reproducible:
Every time.

Steps to Reproduce:
1. yum install bacula-director-common
2. logwatch
  
Actual results:
Error message "Cannot find shared script applybaculadate".
Also, a blank email that should have been the logwatch report for the host every morning, and another email with the above error message.

Expected results:
Email containing logwatch report.

Additional info:
This can be fixed by adding the following line to the logwatch section of %install in the spec:

install -m 644 -D bacula-sqlite/scripts/logwatch/applybaculadate %{buildroot}%{_datadir}/logwatch/scripts/shared/applybaculadate

and adding %{_datadir}/logwatch/scripts/shared/applybaculadate to the %files list for director-common


However, whilst doing this, it would be nice to rationalise the log file locations as mentioned in Bug #494037, which would mean tweaking things in a few places.

Comment 1 Fedora Update System 2009-12-04 17:00:29 UTC
bacula-3.0.3-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/bacula-3.0.3-4.fc12

Comment 2 Fedora Update System 2009-12-07 07:23:33 UTC
bacula-3.0.3-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update bacula'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12752

Comment 3 Fedora Update System 2009-12-08 15:03:53 UTC
bacula-3.0.3-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/bacula-3.0.3-5.fc12

Comment 4 Fedora Update System 2009-12-10 04:22:13 UTC
bacula-3.0.3-5.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update bacula'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12997

Comment 5 Fedora Update System 2009-12-18 04:18:30 UTC
bacula-3.0.3-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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