Bug 1172641 - Use Gluster supplied logrotate for Centos 6
Summary: Use Gluster supplied logrotate for Centos 6
Keywords:
Status: CLOSED DUPLICATE of bug 1126788
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 3.6.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lalatendu Mohanty
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 13:46 UTC by Jan-Hendrik Zab
Modified: 2016-08-23 12:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-23 12:35:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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 ***


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