Bug 768355 - Logrotate complaining about vultures-eye insecure directories, refuses to rotate logs
Summary: Logrotate complaining about vultures-eye insecure directories, refuses to rot...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nethack-vultures
Version: 17
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: Bruno Wolff III
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-16 12:54 UTC by Trevor Cordes
Modified: 2012-11-15 15:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-15 02:30:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Trevor Cordes 2011-12-16 12:54:14 UTC
Description of problem:
Logrotate emails me:
/etc/cron.daily/logrotate:

error: skipping "/var/log/vultures/vultures_log.txt" 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):
nethack-vultures-2.1.2-3.fc15.i686

How reproducible:
every night

Steps to Reproduce:
1. install nethack-vultures
2. install logrotate
3. play some games so logs get generated
4. wait until cron.daily runs at night
  
Actual results:
above error, no rotate

Expected results:
no error, rotated logs

Additional info:
Seems to be the same bug as 751581, but for vultures.  The same fix there should apply here.

Not sure why I have f16 installed yet my nethack-vultures says it's fc15?  I did yum upgrade from F15.

Comment 1 Don Buchholz 2011-12-17 22:27:11 UTC
Fedora 16:  nethack-vultures-2.1.2-3.fc15.x86_64 (and logrotate-3.8.0-3.fc16.x86_64)

It's not necessary to play the 'vultures' games -- just having 'nethack-vultures' installed is sufficient to generate the error mails.

Adding the line "su root vultures" to /etc/logrotate.d/nethack-vultures fixes the problem.


  | diff -C3 -r1.1 nethack-vultures
  | *** nethack-vultures	2011/12/17 22:09:12	1.1
  | --- nethack-vultures	2011/12/17 22:24:47
  | ***************
  | *** 3,6 ****
  | --- 3,7 ----
  |       nocreate
  |       notifempty
  |       missingok
  | +     su root vultures
  |   }

Comment 2 Fedora Admin XMLRPC Client 2012-01-13 18:46:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Bruce-Robert Pocock 2012-10-01 13:59:37 UTC
Still seeing this in new installation…

Comment 4 Karel Volný 2012-11-04 08:50:47 UTC
updating version as I'm seeing this with nethack-vultures-2.1.2-6.fc17.x86_64

this is easyfix, patch provided in comment #1 - pretty please with sugar on top, find 10 minutes to update the package so that [number of people having installed games * each day * 10 seconds] is not lost on dealing with those annoying logrotate errors

Comment 5 Fedora Update System 2012-11-04 14:38:49 UTC
nethack-vultures-2.1.2-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/nethack-vultures-2.1.2-8.fc18

Comment 6 Fedora Update System 2012-11-04 14:40:48 UTC
nethack-vultures-2.1.2-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/nethack-vultures-2.1.2-8.fc17

Comment 7 Fedora Update System 2012-11-04 15:14:13 UTC
nethack-vultures-2.1.2-8.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/nethack-vultures-2.1.2-8.fc16

Comment 8 Fedora Update System 2012-11-06 07:53:26 UTC
Package nethack-vultures-2.1.2-8.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nethack-vultures-2.1.2-8.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17646/nethack-vultures-2.1.2-8.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-11-08 05:39:06 UTC
nethack-vultures-2.1.2-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Karel Volný 2012-11-08 10:34:00 UTC
fixed, thanks

@Trevor, Don, Bruce: please do your homework, test and give positive karma to the update

Comment 11 Fedora Update System 2012-11-15 02:30:03 UTC
nethack-vultures-2.1.2-8.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-11-15 02:30:16 UTC
nethack-vultures-2.1.2-8.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Bruce-Robert Pocock 2012-11-15 15:24:14 UTC
Looks good, no complaints from logrotate.


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