+++ 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.
There should not be any global configuration options in the logrotate configuration files that GlusterFS ships. These files need to be modified: - extras/glusterfs-logrotate - extras/glusterfs-georep-logrotate Please make sure to remove the global options from the files, and place them inside each specific log-definition.
*** This bug has been marked as a duplicate of bug 1126802 ***