upgrade version to 3.21.0
This commit is contained in:
parent
18baf56cad
commit
39805ae0d7
@ -1,31 +0,0 @@
|
|||||||
From e509c7db71cefd150e9c4360b8abd3b378b129b2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kamil Dudka <kdudka@redhat.com>
|
|
||||||
Date: Fri, 27 May 2022 09:56:07 +0200
|
|
||||||
Subject: [PATCH] lockState: do not print `error:` when exit code is unaffected
|
|
||||||
|
|
||||||
Closes: https://github.com/logrotate/logrotate/pull/448
|
|
||||||
|
|
||||||
Upstream-commit: 31cf1099ab8514dfcae5a980bc77352edd5292f8
|
|
||||||
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
||||||
---
|
|
||||||
logrotate.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/logrotate.c b/logrotate.c
|
|
||||||
index 2350672..6188a35 100644
|
|
||||||
--- a/logrotate.c
|
|
||||||
+++ b/logrotate.c
|
|
||||||
@@ -3050,8 +3050,8 @@ static int lockState(const char *stateFilename, int skip_state_lock)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sb.st_mode & S_IROTH) {
|
|
||||||
- message(MESS_ERROR, "state file %s is world-readable and thus can"
|
|
||||||
- " be locked from other unprivileged users."
|
|
||||||
+ message(MESS_NORMAL, "warning: state file %s is world-readable"
|
|
||||||
+ " and thus can be locked from other unprivileged users."
|
|
||||||
" Skipping lock acquisition...\n",
|
|
||||||
stateFilename);
|
|
||||||
close(lockFd);
|
|
||||||
--
|
|
||||||
2.35.3
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
logrotate-3.21.0.tar.xz
Normal file
BIN
logrotate-3.21.0.tar.xz
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
%global _configure ../configure
|
%global _configure ../configure
|
||||||
|
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.20.1
|
Version: 3.21.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: simplify the administration of log files
|
Summary: simplify the administration of log files
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: https://github.com/logrotate/logrotate
|
Url: https://github.com/logrotate/logrotate
|
||||||
Source0: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
Source0: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
||||||
# lockState: do not print `error:` when exit code is unaffected
|
|
||||||
Patch0: 0001-logrotate-3.20.1-lock-state-msg.patch
|
|
||||||
Patch6001: backport-do-not-rotate-old-logs-on-prerotate-failure.patch
|
Patch6001: backport-do-not-rotate-old-logs-on-prerotate-failure.patch
|
||||||
|
|
||||||
BuildRequires: acl gcc automake libacl-devel libselinux-devel popt-devel
|
BuildRequires: acl gcc automake libacl-devel libselinux-devel popt-devel
|
||||||
@ -76,6 +75,9 @@ fi
|
|||||||
%{_mandir}/man5/logrotate.conf.5*
|
%{_mandir}/man5/logrotate.conf.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 4 2024 hanhuihui <hanhuihui5@huawei.com> - 3.21.0-1
|
||||||
|
- upgrade version to 3.21.0
|
||||||
|
|
||||||
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 3.20.1-3
|
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 3.20.1-3
|
||||||
- do not pack directories belonging to other packages
|
- do not pack directories belonging to other packages
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user