diff --git a/logrotate-3.7.8-conf.patch b/logrotate-3.7.8-conf.patch index 83871d9..9fe8ed4 100644 --- a/logrotate-3.7.8-conf.patch +++ b/logrotate-3.7.8-conf.patch @@ -1,57 +1,44 @@ Index: examples/logrotate-default =================================================================== ---- examples/logrotate-default.orig 2007-08-29 09:19:36.000000000 +0200 -+++ examples/logrotate-default 2009-03-06 14:11:05.000000000 +0100 -@@ -14,22 +14,30 @@ +--- examples/logrotate-default.orig ++++ examples/logrotate-default +@@ -14,22 +14,13 @@ dateext # uncomment this if you want your log files compressed #compress -+# comment these to switch compression to use gzip or another -+# compression scheme -+compresscmd /usr/bin/bzip2 -+uncompresscmd /usr/bin/bunzip2 -+ -+# former versions had to have the compressext set accordingly -+#compressext .bz2 -+ - # RPM packages drop log rotation information into this directory - include /etc/logrotate.d - - # no packages own wtmp and btmp -- we'll rotate them here +-# RPM packages drop log rotation information into this directory +-include /etc/logrotate.d +- +-# no packages own wtmp and btmp -- we'll rotate them here -/var/log/wtmp { - monthly - create 0664 root utmp - minsize 1M - rotate 1 -} -- ++# comment these to switch compression to use gzip or another ++# compression scheme ++compresscmd /usr/bin/bzip2 ++uncompresscmd /usr/bin/bunzip2 + -/var/log/btmp { - missingok - monthly - create 0600 root utmp - rotate 1 -} -+#/var/log/wtmp { -+# monthly -+# create 0664 root utmp -+# minsize 1M -+# rotate 1 -+#} -+# -+# /var/log/btmp { -+# missingok -+# monthly -+# create 0600 root utmp -+# rotate 1 -+#} ++# former versions had to have the compressext set accordingly ++#compressext .bz2 - # system-specific logs may be also be configured here. +-# system-specific logs may be also be configured here. ++# RPM packages drop log rotation information into this directory ++include /etc/logrotate.d Index: examples/logrotate.wtmp =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ examples/logrotate.wtmp 2009-03-06 14:11:05.000000000 +0100 +--- /dev/null ++++ examples/logrotate.wtmp @@ -0,0 +1,11 @@ -+/var/log/wtmp { ++/var/log/wtmp /var/log/btmp { + compress + dateext + maxage 365 diff --git a/logrotate.changes b/logrotate.changes index 118d450..b0702c2 100644 --- a/logrotate.changes +++ b/logrotate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 18 12:44:55 UTC 2010 - lnussel@suse.de + +- also rotate /var/log/btmp + ------------------------------------------------------------------- Tue Sep 14 13:01:46 UTC 2010 - puzel@novell.com