[Bugs] [Bug 1165133] New: logrotate script in glusterfs package tries to rotate non-existant directories

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 18 12:13:59 UTC 2014


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

            Bug ID: 1165133
           Summary: logrotate script in glusterfs package tries to rotate
                    non-existant directories
           Product: GlusterFS
           Version: 3.6.0
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: nils at breun.nl
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

The glusterfs package installs /etc/logrotate.d/glusterfs-georep, which tries
to rotate files in directories under /var/log/glusterfs/geo-replication-slaves,
which does not exist and therefor causes an error message.

Version-Release number of selected component (if applicable):

glusterfs-3.6.1-1.el7.x86_64

How reproducible:

Always.

Steps to Reproduce:

1. Install the glusterfs-3.6.1-1.el7.x86_64 package
2. Have logrotate do its thing

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 messages.

Additional info:

The /etc/logrotate.d/glusterfs-georep file should maybe moved to the
glusterfs-geo-replication package? It sounds like it belongs there.

-- 
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