Summary: | sys-cluster/ceph - /etc/logrotate.d/ceph rotates already rotated files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Malte Starostik <bugs> |
Component: | [OLD] Server | Assignee: | Yixun Lan <dlan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cluster |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ceph.logrotate |
Description
Malte Starostik
2014-11-14 09:09:00 UTC
Created attachment 389290 [details]
ceph.logrotate
Must end in .log to get rotated
Comment on attachment 389290 [details]
ceph.logrotate
--- a/files/ceph.logrotate
+++ b/files/ceph.logrotate
@@ -1,8 +1,8 @@
/var/log/ceph/admin.log
/var/log/ceph/ceph.log
-/var/log/ceph/ceph-mon.*
-/var/log/ceph/ceph-mds.*
-/var/log/ceph/ceph-osd.*
+/var/log/ceph/ceph-mon.*.log
+/var/log/ceph/ceph-mds.*.log
+/var/log/ceph/ceph-osd.*.log
{
rotate 7
daily
+ 02 Mar 2015; Sergey Popov <pinkbyte@gentoo.org> files/ceph.logrotate: + QA: prevent rotating already rotated log files 02 Mar 2015; Sergey Popov <pinkbyte@gentoo.org> -ceph-0.67.9.ebuild, +ceph-0.67.9-r1.ebuild, -ceph-0.67.10.ebuild, +ceph-0.67.10-r1.ebuild, -ceph-0.80.5.ebuild, +ceph-0.80.5-r1.ebuild, -ceph-0.80.7.ebuild, +ceph-0.80.7-r1.ebuild: QA: revbump all ceph ebuilds to fix bug #529228 and related logrotate issues |