Bug 1172641

Summary: Use Gluster supplied logrotate for Centos 6
Product: [Community] GlusterFS Reporter: Jan-Hendrik Zab <zab>
Component: buildAssignee: Lalatendu Mohanty <lmohanty>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.1CC: bugs, lmohanty
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 12:35: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 Jan-Hendrik Zab 2014-12-10 13:46:33 UTC
Description of problem:
Glusterfs SPEC file doesn't use the supplied logrotate config from the extras directory when build via koji. This results in logs not being properly rotated since the used logrotate script searches for a PID in /var/run/glusterfsd.pid which doesn't exist. 

This appears to be already in git master, since the SPEC doesn't check for koji anymore. Backport?

Version-Release number of selected component (if applicable):
3.6.1-1.el6

How reproducible:
Every time.

Steps to Reproduce:
1. Install Gluster server on Centos 6 (also probably on all systems that received a RPM build via koji)
2.
3.

Actual results:
Logfiles files are not rotated.

Expected results:
Logfiles are rotated.

Additional info:

Comment 1 Lalatendu Mohanty 2014-12-11 13:31:19 UTC
Interestingly 3.6.1-1.el6 [1] uses the same SPEC file as 3.6.1 Fedora builds.

However the issue might be with the /var/run/glusterfsd.pid.


[1] http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL

Comment 2 Niels de Vos 2016-08-23 12:35:54 UTC

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