Bug 755491 - logrotate complains about ownership of quagga's logfiles
Summary: logrotate complains about ownership of quagga's logfiles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: quagga
Version: 16
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-21 10:09 UTC by Quentin Armitage
Modified: 2014-11-09 22:35 UTC (History)
3 users (show)

Fixed In Version: quagga-0.99.20-4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-04 02:29:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for /etc/logrotate.d/quagga to resolve logrotate errors. (850 bytes, patch)
2011-11-21 10:09 UTC, Quentin Armitage
no flags Details | Diff

Description Quentin Armitage 2011-11-21 10:09:02 UTC
Created attachment 534753 [details]
Patch for /etc/logrotate.d/quagga to resolve logrotate errors.

Description of problem:
logroate generates the following error messages when it runs with the default configuration:
error: skipping "/var/log/quagga/zebra.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.
error: skipping "/var/log/quagga/bgpd.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.
error: skipping "/var/log/quagga/ospfd.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.
error: skipping "/var/log/quagga/ospf6d.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.
error: skipping "/var/log/quagga/ripd.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.
error: skipping "/var/log/quagga/ripngd.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.

Version-Release number of selected component (if applicable):
quagga-0.99.20-3.fc16.i686


How reproducible:
Always

Steps to Reproduce:
1.Install quagga
2.Execute /etc/cron.daily/logrotate
3.
  
Actual results:
Email with error messages as above, and log files not rotated

Expected results:
No error messages and log files rotated

Additional info:
The attached patch has resolved the problem, i.e. adding su quagga quagga to each entry in /etc/logrotate.d/quagga

Comment 1 Fedora Update System 2011-11-23 11:10:25 UTC
quagga-0.99.20-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/quagga-0.99.20-4.fc16

Comment 2 Fedora Update System 2011-11-23 23:30:37 UTC
Package quagga-0.99.20-4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing quagga-0.99.20-4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16325/quagga-0.99.20-4.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-12-04 02:29:37 UTC
quagga-0.99.20-4.fc16 has been pushed to the Fedora 16 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.