[Bugs] [Bug 1126801] glusterfs logrotate config file pollutes global config
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 12 12:42:01 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1126801
Martin Andersen <martin.andersen at uni.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.andersen at uni.no
--- Comment #7 from Martin Andersen <martin.andersen at uni.no> ---
This issue is not resolved. In the latest version for RHEL 7.1
(3.6.0.29-2.el7), the glusterfs-specific directives are still present outside
their main block, thus affecting *all* logs system-wide that do not have an
explicit rotation frequency set (why is it that the promise of a new release is
regularly assumed to resolve existing bugs without actual verification of
such?) ;)
$ cat /etc/logrotate.d/glusterfs
# perform the log rotate every week
weekly
# keep the backup of 52 weeks
rotate 52
missingok
# compress the logs, but from the .2 onwards
compress
delaycompress
notifempty
# Rotate client logs
/var/log/glusterfs/*.log {
sharedscripts
postrotate
/usr/bin/killall -HUP glusterfs > /dev/null 2>&1 || true
/usr/bin/killall -HUP glusterd > /dev/null 2>&1 || true
endscript
}
$ rpm -qa|grep gluster
glusterfs-3.6.0.29-2.el7.x86_64
glusterfs-fuse-3.6.0.29-2.el7.x86_64
glusterfs-libs-3.6.0.29-2.el7.x86_64
glusterfs-api-3.6.0.29-2.el7.x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=rDTdF4KojW&a=cc_unsubscribe
More information about the Bugs
mailing list