diff --git a/bugfix-fix-disk-error-log-storm.patch b/bugfix-fix-disk-error-log-storm.patch new file mode 100644 index 0000000000000000000000000000000000000000..8241cfcb7e5199ab323c9c478b4e671e3283da13 --- /dev/null +++ b/bugfix-fix-disk-error-log-storm.patch @@ -0,0 +1,26 @@ +From 38b9c016f7c301435f9e7ba22678a664cca394a7 Mon Sep 17 00:00:00 2001 +From: xujing +Date: Fri, 19 Mar 2021 18:32:08 +0800 +Subject: [PATCH] rasdaemon: fix disk error log storm + +reason: fix disk error log storm +--- + misc/rasdaemon.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/misc/rasdaemon.service.in b/misc/rasdaemon.service.in +index e73a08a..04a0489 100644 +--- a/misc/rasdaemon.service.in ++++ b/misc/rasdaemon.service.in +@@ -4,7 +4,7 @@ After=syslog.target + + [Service] + EnvironmentFile=/etc/sysconfig/rasdaemon +-ExecStart=@sbindir@/rasdaemon -f -r ++ExecStart=@sbindir@/rasdaemon -f + ExecStartPost=@sbindir@/rasdaemon --enable + ExecStop=@sbindir@/rasdaemon --disable + Restart=on-abort +-- +2.23.0 + diff --git a/rasdaemon.spec b/rasdaemon.spec index 380a17b3c374c930e189ac5a30cd3a445c1edc06..5c140087fdecb469c8bfbd765be97bb73e00d197 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.6.6 -Release: 1 +Release: 2 License: GPLv2 Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events URL: https://github.com/mchehab/rasdaemon.git @@ -22,6 +22,7 @@ Requires(postun): systemd Patch1: bugfix-ras-events-memory-leak.patch Patch2: bugfix-rasdaemon-wait-for-file-access.patch Patch3: bugfix-fix-fd-check.patch +Patch4: bugfix-fix-disk-error-log-storm.patch %description The rasdaemon program is a daemon which monitors the platform @@ -68,6 +69,12 @@ rm INSTALL %{buildroot}/usr/include/*.h /usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || : %changelog +* Sat May 15 2021 xujing<17826839720@163.com> - 0.6.6-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix disk error log storm + * Fri Jul 24 2020 openEuler Buildteam - 0.6.6-1 - Update software to v0.6.6