Bug 904771 - Orphan directories should be owned by logwatch RPM package
Summary: Orphan directories should be owned by logwatch RPM package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch
Version: 19
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-27 13:20 UTC by Robert Scheck
Modified: 2013-06-01 03:15 UTC (History)
4 users (show)

Fixed In Version: logwatch-7.4.0-25.20130522svn140.fc19
Clone Of:
Environment:
Last Closed: 2013-06-01 02:25:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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