Bug 1133704

Summary: /etc/logrotate.d/glusterfs-georep sets global logrotate options
Product: [Fedora] Fedora Reporter: Gregorio Gervasio <gregorio.gervasio>
Component: glusterfsAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: barumuga, humble.devassy, joe, jonathansteffan, kkeithle, lmohanty, ndevos, silas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-28 13:49:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gregorio Gervasio 2014-08-25 22:15:12 UTC
Description of problem:
/etc/logrotate.d/glusterfs-georep sets global logrotate options, affecting all rotated logs:

> rotate 52
> missingok

> compress
> delaycompress
> notifempty

For example, it sets "compress" and "rotate 52", which override default options in /etc/logrotate.conf.


Version-Release number of selected component (if applicable):
3.5.2-1.fc20.x86_6
(although problem seems to have started with earlier releases)

How reproducible:
always

Steps to Reproduce:
1. install glusterfs
2. wait for daily logrotate cron job to run

Actual results:
logrotate does not behave as expected (eg. compresses logs and keeps 52 weeks worth)

Expected results:
logrotate should only compress glusterfs-georep log files.

Additional info:

Comment 1 Kaleb KEITHLEY 2014-08-28 13:49:54 UTC

*** This bug has been marked as a duplicate of bug 1126788 ***