cluster: STABLE3 - logrotate: fix logrotate default actions and set sane defaults

Fabio M. Di Nitto fabbione at fedoraproject.org
Wed Feb 17 08:14:56 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=917b27d7ad45e4e4fa22bcc1e5255075aee0b49b
Commit:        917b27d7ad45e4e4fa22bcc1e5255075aee0b49b
Parent:        504c2ce76cf1043a9d5303f32fe52806168d5726
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Wed Feb 17 09:13:13 2010 +0100
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Wed Feb 17 09:13:13 2010 +0100

logrotate: fix logrotate default actions and set sane defaults

Fixes rhbz#565907

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 doc/cluster.logrotate.in |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/cluster.logrotate.in b/doc/cluster.logrotate.in
index df7d94c..bd55cce 100644
--- a/doc/cluster.logrotate.in
+++ b/doc/cluster.logrotate.in
@@ -1,8 +1,9 @@
 @LOGDIR@/*log {
 	missingok
 	compress
-	notifempty
+	copytruncate
 	daily
-	rotate 7
-	create 0600 root root
+	rotate 31
+	minsize 2048
+	notifempty
 }


More information about the cluster-commits mailing list