[Bugs] [Bug 1157457] New: Bad /etc/logrotate.d file installed by glusterfs
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 27 09:54:10 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1157457
Bug ID: 1157457
Summary: Bad /etc/logrotate.d file installed by glusterfs
Product: GlusterFS
Version: mainline
Component: logging
Assignee: bugs at gluster.org
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Blocks: 1157160
+++ This bug was initially created as a clone of Bug #1157160 +++
+++ Bug #1157160 was filed for the Fedora packages, use this +++
+++ bug to post patches to the GlusterFS Gerrit instance. +++
+++ +++
+++ Once this bug has been closed, the Fedora package bug +++
+++ should get closed as well. +++
Description of problem:
The glusterfs package installs an /etc/logrotate.d file that changes the global
logrotate configuration that impacts all log files systemwide, not just
glusterfs's.
Version-Release number of selected component (if applicable):
glusterfs-3.5.2-1.fc20
How reproducible:
Always
Steps to Reproduce:
1. Install Fedora without glusterfs or any other package that pulls in
glusterfs, like libvirt/qemu, etc...
2. After a month, or so, observe that various log files are rotated out after
four log rotation intervals
3. Install glusterfs, or any package that pulls in glusterfs
Actual results:
Suddenly, all system log files will now be rotated out after 52 log rotation
intervals. /var/log won't be purged for at least a year, now.
Expected results:
Installing glusterfs should not affact any other packages' log rotation
policies.
Additional info:
The "rotate 52" directive in /etc/logrotate.d/glusterfs-georep, and the other
four directives in that file, take effect globally. They apply not only to the
log files listed in this specific logrotate configuration file, but to all
logrotate files.
Those four directives need to be manually moved inside each individually config
file entry, in this file.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1157160
[Bug 1157160] Bad /etc/logrotate.d file installed by glusterfs
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list