diff --git a/modify-logrotate-rule.patch b/modify-logrotate-rule.patch new file mode 100644 index 0000000..be0ddd2 --- /dev/null +++ b/modify-logrotate-rule.patch @@ -0,0 +1,27 @@ +From 0d3323d13797f3f9d3124e3938787d2573bf249d Mon Sep 17 00:00:00 2001 +From: zhangnan +Date: Mon, 28 Oct 2024 17:32:49 +0800 +Subject: [PATCH] modify logrotate rule + +--- + config/logrotate | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/config/logrotate b/config/logrotate +index f54e7b3..e855118 100644 +--- a/config/logrotate ++++ b/config/logrotate +@@ -1,8 +1,9 @@ + /var/log/sysSentry/*.log { +- nocompress ++ compress + missingok + notifempty + copytruncate + rotate 2 + size +4096k ++ hourly + } +-- +2.33.0 + diff --git a/sysSentry.spec b/sysSentry.spec index 6247726..2a5f6a4 100644 --- a/sysSentry.spec +++ b/sysSentry.spec @@ -4,7 +4,7 @@ Summary: System Inspection Framework Name: sysSentry Version: 1.0.2 -Release: 54 +Release: 55 License: Mulan PSL v2 Group: System Environment/Daemons Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -74,6 +74,7 @@ Patch61: fix-alarm_info-newline-break-error.patch Patch62: add-hbm-online-repair.patch Patch63: fix-hbm-online-repair-notice-and-efi-create.patch Patch64: get_alarm-d-abnomal-display.patch +Patch65: modify-logrotate-rule.patch BuildRequires: cmake gcc-c++ BuildRequires: python3 python3-setuptools @@ -367,6 +368,12 @@ rm -rf %{buildroot} %attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py %changelog +* Thu Oct 31 2024 zhangnan - 1.0.2-55 +- Type:bugfix +- CVE:NA +- SUG:NA +- DES:modify logrotate rule + * Tue Oct 29 2024 jinsaihang - 1.0.2-54 - Type:bugfix - CVE:NA