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:
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)
Bug 1170825 has been filed to get the patch in the master branch too.
REVIEW: http://review.gluster.org/9239 (Stop logrotate from complaining about missing files.) posted (#2) for review on release-3.6 by Jan-Hendrik Zab (zab)
*** This bug has been marked as a duplicate of bug 1165133 ***