!182 fix ras-mc-ctl --summary failed

From: @znzjugod 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot 2025-04-19 07:05:26 +00:00 committed by Gitee
commit 720f6f4b2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 8f9b6aeb13884696fbf17da7ac28111a672c1301 Mon Sep 17 00:00:00 2001
From: root <zhangnan134@huawei.com>
Date: Sat, 19 Apr 2025 10:04:20 +0800
Subject: [PATCH] fix ras-mc-ctl --summary failed
---
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 508aa3c..4ef3d2c 100644
--- a/misc/rasdaemon.service.in
+++ b/misc/rasdaemon.service.in
@@ -4,7 +4,7 @@ After=syslog.target
[Service]
EnvironmentFile=@SYSCONFDEFDIR@/rasdaemon
-ExecStart=@sbindir@/rasdaemon -f
+ExecStart=@sbindir@/rasdaemon -f -r
ExecStartPost=@sbindir@/rasdaemon --enable
ExecStop=@sbindir@/rasdaemon --disable
Restart=on-abort
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: rasdaemon Name: rasdaemon
Version: 0.8.0 Version: 0.8.0
Release: 6 Release: 7
License: GPLv2 License: GPLv2
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
URL: https://github.com/mchehab/rasdaemon.git URL: https://github.com/mchehab/rasdaemon.git
@ -35,6 +35,7 @@ Patch9008: backport-rasdaemon-diskerror-fix-incomplete-diskerror-log.patch
Patch9009: bugfix-fix-cpu-isolate-errors-when-some-cpus-are-.patch Patch9009: bugfix-fix-cpu-isolate-errors-when-some-cpus-are-.patch
Patch9010: rasdaemon-ras-mc-ctl-Modify-check-for-HiSilicon-KunP.patch Patch9010: rasdaemon-ras-mc-ctl-Modify-check-for-HiSilicon-KunP.patch
Patch9011: bugfix-set-to-default-when-param-is-overflow.patch Patch9011: bugfix-set-to-default-when-param-is-overflow.patch
Patch9012: fix-ras-mc-ctl-summary-failed.patch
%description %description
The rasdaemon program is a daemon which monitors the platform The rasdaemon program is a daemon which monitors the platform
@ -86,6 +87,12 @@ fi
/usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : /usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || :
%changelog %changelog
* Sat Apr 19 2025 zhangnan <zhangnan134@huawei.com> - 0.8.0-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix ras-mc-ctl --summary failed
* Mon Dec 16 2024 guodashun <guodashun1@huawei.com> - 0.8.0-6 * Mon Dec 16 2024 guodashun <guodashun1@huawei.com> - 0.8.0-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA