Bug 904771

Summary: Orphan directories should be owned by logwatch RPM package
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: logwatchAssignee: Jan Synacek <jsynacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: frank, jsynacek, richardfearn, varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: logwatch-7.4.0-25.20130522svn140.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-01 02:25:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Scheck 2013-01-27 13:20:27 UTC
Description of problem:
Right now, a bunch of directories which are created and shipped by the
logwatch RPM package are orphan, thus not owned by the RPM package.

Version-Release number of selected component (if applicable):
logwatch-7.4.0-23.20130102svn127.fc19

Actual results:
Orphan directories not owned by the logwatch RPM package.

Expected results:
Please apply this patch or better for the next logwatch release:

 %files
+%defattr(-,root,root,-)
 %doc README HOWTO-Customize-LogWatch LICENSE
 %dir %{_var}/cache/logwatch
+%dir %{_sysconfdir}/logwatch
 %dir %{_sysconfdir}/logwatch/scripts
+%dir %{_sysconfdir}/logwatch/conf
 %dir %{_sysconfdir}/logwatch/conf/logfiles
 %dir %{_sysconfdir}/logwatch/conf/services
 %dir %{_sysconfdir}/logwatch/scripts/services
@@ -135,12 +144,19 @@
 %{_datadir}/logwatch/scripts/logwatch.pl
 %config(noreplace) %{_datadir}/logwatch/default.conf/*.conf
 %{_sbindir}/logwatch
+%dir %{_datadir}/logwatch
+%dir %{_datadir}/logwatch/scripts
 %{_datadir}/logwatch/scripts/shared
 %{_datadir}/logwatch/scripts/services
 %{_datadir}/logwatch/scripts/logfiles
+%dir %{_datadir}/logwatch/lib
 %{_datadir}/logwatch/lib/Logwatch.pm
+%dir %{_datadir}/logwatch/default.conf
+%dir %{_datadir}/logwatch/default.conf/services
 %{_datadir}/logwatch/default.conf/services/*.conf
+%dir %{_datadir}/logwatch/default.conf/logfiles
 %{_datadir}/logwatch/default.conf/logfiles/*.conf
+%dir %{_datadir}/logwatch/default.conf/html
 %{_datadir}/logwatch/default.conf/html/*.html
 %{_mandir}/man*/*

Comment 1 Robert Scheck 2013-01-27 13:21:06 UTC
Args, the %defattr is of course not required for recent Fedora releases.

Comment 2 Fedora End Of Life 2013-04-03 15:29:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Fedora Update System 2013-05-22 13:03:08 UTC
logwatch-7.4.0-25.20130522svn140.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/logwatch-7.4.0-25.20130522svn140.fc19

Comment 5 Fedora Update System 2013-05-22 13:20:41 UTC
logwatch-7.4.0-25.20130522svn140.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/logwatch-7.4.0-25.20130522svn140.fc18

Comment 6 Fedora Update System 2013-05-22 22:39:47 UTC
Package logwatch-7.4.0-25.20130522svn140.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing logwatch-7.4.0-25.20130522svn140.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8873/logwatch-7.4.0-25.20130522svn140.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-06-01 02:25:03 UTC
logwatch-7.4.0-25.20130522svn140.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-06-01 03:15:30 UTC
logwatch-7.4.0-25.20130522svn140.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.