diff --git a/modify-logrotate-rule.patch b/modify-logrotate-rule.patch new file mode 100644 index 0000000000000000000000000000000000000000..be0ddd2553913a2ae54b582b9d64ad4dafab37fe --- /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 c1721d72cfdda499684da8c488fcd4d1f3924430..758bb620649947500efee93f2eff39b150265586 100644 --- a/sysSentry.spec +++ b/sysSentry.spec @@ -4,7 +4,7 @@ Summary: System Inspection Framework Name: sysSentry Version: 1.0.2 -Release: 62 +Release: 63 License: Mulan PSL v2 Group: System Environment/Daemons Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -78,6 +78,7 @@ Patch65: ai_block_io-support-absolute-threshold-lower-limit.patch Patch66: ai_block_io-fix-some-config-parameters-parse-bug.patch Patch67: fix-alarm_info-newline-break-error.patch Patch68: get_alarm-d-abnomal-display.patch +Patch69: modify-logrotate-rule.patch BuildRequires: cmake gcc-c++ BuildRequires: python3 python3-setuptools @@ -349,6 +350,12 @@ rm -rf %{buildroot} %attr(0550,root,root) %{python3_sitelib}/sentryCollector/__pycache__/collect_plugin* %changelog +* Mon Oct 28 2024 zhangnan - 1.0.2-63 +- Type:bugfix +- CVE:NA +- SUG:NA +- DES:modify logrotate rule + * Mon Oct 28 2024 jinsaihang - 1.0.2-62 - Type:bugfix - CVE:NA