[Bugs] [Bug 1170814] New: GlusterFS logrotate config complains about missing files
bugzilla at redhat.com
bugzilla at redhat.com
Thu Dec 4 22:40:50 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1170814
Bug ID: 1170814
Summary: GlusterFS logrotate config complains about missing
files
Product: GlusterFS
Version: 3.6.1
Component: logging
Assignee: bugs at gluster.org
Reporter: zab at l3s.de
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
The supplied logrotate configuration in extras/glusterfs-georep-logrotate
causes errors for every logrotate execution due to the definition of
"/var/log/glusterfs/geo-replication-slaves/*/*.log".
The missingok directive is inbetween postrotate and endscript, it needs to be
mmoved before the postrotate directive.
Version-Release number of selected component (if applicable):
3.6.1
How reproducible:
Every time.
Steps to Reproduce:
Call `logrotate /etc/logrotate.conf' with glusterfs logrotate config from:
extras/glusterfs-georep-logrotate in "/etc/logrotate.d/".
Actual results:
error: glusterfs-georep:31 glob failed for
/var/log/glusterfs/geo-replication-slaves/*/*.log: No such file or directory
error: found error in file glusterfs-georep, skipping
Expected results:
No error message at all.
Additional info:
--
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