Bug 909660 - su not set in the /etc/logrotate.d/slrn-pull
Summary: su not set in the /etc/logrotate.d/slrn-pull
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: slrn
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-10 09:00 UTC by Matěj Cepl
Modified: 2018-04-11 17:59 UTC (History)
3 users (show)

Fixed In Version: slrn-1.0.1-2.fc19
Clone Of:
Environment:
Last Closed: 2014-04-08 06:05:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
suggested patch (182 bytes, patch)
2013-02-10 09:00 UTC, Matěj Cepl
ppisar: review+
Details | Diff

Description Matěj Cepl 2013-02-10 09:00:00 UTC
Created attachment 695687 [details]
suggested patch

Description of problem:
Cron.daily returns this error message:

/etc/cron.daily/logrotate:

error: skipping "/var/spool/slrnpull/log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

Suggested fix is applied.

Version-Release number of selected component (if applicable):
slrn-1.0.0-0.1.pre1.0.0.41.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. logrotate -fv /etc/logrotate.conf (-f and -v are for debugging purposes)
2.
3.
  
Actual results:
Above error message for /var/spool/slrnpull/log directory

Expected results:
No error message and correctly logrotated /var/spool/slrnpull/log

Additional info:

Comment 1 Petr Pisar 2013-02-11 12:54:06 UTC
Thank you for the report and patch.

Comment 2 Fedora Update System 2013-02-11 12:58:47 UTC
slrn-1.0.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/slrn-1.0.1-2.fc18

Comment 3 Fedora Update System 2013-02-11 13:18:31 UTC
slrn-0.9.9p1-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/slrn-0.9.9p1-7.fc17

Comment 4 Fedora Update System 2013-02-21 05:44:52 UTC
slrn-0.9.9p1-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-02-21 05:46:42 UTC
slrn-1.0.1-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora End Of Life 2013-04-03 20:30:30 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


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