Bug 772591

Summary: vdsm logrotate configuration is wrong
Product: [Retired] oVirt Reporter: Ohad Levy <ohadlevy>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, bazulay, iheim, srevivo, ykaul
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-11 16:06:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ohad Levy 2012-01-09 11:03:59 UTC
Description of problem:

annoying hourly emails

How reproducible:
100%

Steps to Reproduce:
1.configure your machine to send root emails and read them
  
Actual results:

/etc/cron.hourly/vdsm-logrotate:

error: skipping "/var/log/core/*.dump" 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.
Expected results:


Additional info:

Comment 1 Dan Kenigsberg 2012-01-14 13:28:13 UTC
I've taken

http://gerrit.ovirt.org/971

for the benefit of upstream, but I'd like to see downstream working, too.