import logrotate-3.14.0-5.el8
This commit is contained in:
parent
197530a677
commit
3a41f2bde1
33
SOURCES/0005-logrotate-3.14.0-btmp-create-mode.patch
Normal file
33
SOURCES/0005-logrotate-3.14.0-btmp-create-mode.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From a045dbad7370109a8ddf16a24090b8357a9b73fd Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Mon, 26 Aug 2019 15:13:16 +0200
|
||||
Subject: [PATCH] examples/btmp: use create mode 0660
|
||||
|
||||
... to make the created file accessible by the utmp group.
|
||||
|
||||
Bug: https://bugzilla.redhat.com/1745330
|
||||
Suggested-by: Steve Grubb
|
||||
|
||||
Closes #257
|
||||
|
||||
Upstream-commit: b1bddec3e73bff4282bcd4845f27ab7b375469da
|
||||
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
||||
---
|
||||
examples/btmp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/btmp b/examples/btmp
|
||||
index 393ead5..0aa1ae1 100644
|
||||
--- a/examples/btmp
|
||||
+++ b/examples/btmp
|
||||
@@ -2,6 +2,6 @@
|
||||
/var/log/btmp {
|
||||
missingok
|
||||
monthly
|
||||
- create 0600 root utmp
|
||||
+ create 0660 root utmp
|
||||
rotate 1
|
||||
}
|
||||
--
|
||||
2.37.3
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Rotates, compresses, removes and mails system log files
|
||||
Name: logrotate
|
||||
Version: 3.14.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
Url: https://github.com/logrotate/logrotate
|
||||
Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
||||
@ -28,6 +28,9 @@ Patch3: 0003-logrotate-3.14.0-broken-symlink.patch
|
||||
# logrotate.8: encourage admins to use the `su` directive (#1759770)
|
||||
Patch4: 0004-logrotate-3.14.0-man-page-su.patch
|
||||
|
||||
# create /var/log/btmp with mode 0660 (#2061561)
|
||||
Patch5: 0005-logrotate-3.14.0-btmp-create-mode.patch
|
||||
|
||||
%description
|
||||
The logrotate utility is designed to simplify the administration of
|
||||
log files on a system which generates a lot of log files. Logrotate
|
||||
@ -113,6 +116,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
||||
|
||||
%changelog
|
||||
* Mon Nov 14 2022 Kamil Dudka <kdudka@redhat.com> - 3.14.0-5
|
||||
- create /var/log/btmp with mode 0660 (#2061561)
|
||||
|
||||
* Wed May 06 2020 Kamil Dudka <kdudka@redhat.com> - 3.14.0-4
|
||||
- logrotate.8: encourage admins to use the `su` directive (#1759770)
|
||||
- do not abort globbing on broken symlink (#1723265)
|
||||
|
Loading…
Reference in New Issue
Block a user