[Bugs] [Bug 1170825] New: GlusterFS logrotate config complains about missing files

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 4 22:56:27 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1170825

            Bug ID: 1170825
           Summary: GlusterFS logrotate config complains about missing
                    files
           Product: GlusterFS
           Version: mainline
         Component: logging
          Keywords: Patch, Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
            Blocks: 1170814



+++ This bug was initially created as a clone of Bug #1170814 +++

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:

--- Additional comment from Anand Avati on 2014-12-04 23:46:39 CET ---

REVIEW: http://review.gluster.org/9239 (Stop logrotate from complaining about
missing files.) posted (#1) for review on release-3.6 by Jan-Hendrik Zab
(zab at l3s.de)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1170814
[Bug 1170814] GlusterFS logrotate config complains about missing files
-- 
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