[packages/SysVinit] - rel 3; if btmp grows large (1.2GB here) it slows down su - considerably; rotate it (and wtmp) usin
arekm
arekm at pld-linux.org
Thu May 28 08:13:27 CEST 2020
commit 6d5059b79005ab36abfeca9f9d9bb0f4ac06263d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 28 08:12:49 2020 +0200
- rel 3; if btmp grows large (1.2GB here) it slows down su - considerably; rotate it (and wtmp) using rules from logrotate/examples/ tarball (which are also used by debian)
SysVinit.spec | 2 +-
sysvinit.logrotate | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/SysVinit.spec b/SysVinit.spec
index d5551fc..d183d1e 100644
--- a/SysVinit.spec
+++ b/SysVinit.spec
@@ -13,7 +13,7 @@ Summary(tr.UTF-8): System V başlatma programı
Summary(uk.UTF-8): Програми, що керують базовими системними процесами
Name: SysVinit
Version: 2.96
-Release: 2
+Release: 3
License: GPL v2+
Group: Base
Source0: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-%{version}.tar.xz
diff --git a/sysvinit.logrotate b/sysvinit.logrotate
index a72aaa9..fef1153 100644
--- a/sysvinit.logrotate
+++ b/sysvinit.logrotate
@@ -3,9 +3,16 @@
#}
/var/log/btmp {
+ missingok
+ monthly
+ create 0640 root root
+ rotate 1
}
/var/log/wtmp {
- create 664 root utmp
+ missingok
monthly
+ create 0664 root utmp
+ minsize 1M
+ rotate 1
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/6d5059b79005ab36abfeca9f9d9bb0f4ac06263d
More information about the pld-cvs-commit
mailing list