!178 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:07:47 +00:00 committed by Gitee
commit d5aac2cd29
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
Version: 0.6.7
Release: 25
Release: 26
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
@ -62,6 +62,7 @@ Patch9010: fix-rasdaemon-print-loading-config-logs-multiple-times.patch
Patch9011: 0001-rasdaemon-Fix-for-vendor-errors-are-not-recorded-in-.patch
Patch9012: 0001-rasdaemon-Add-HBM-Memory-ACLS-support-for-HiSilicon.patch
Patch9013: bugfix-set-to-default-when-param-is-overflow.patch
Patch9014: fix-ras-mc-ctl-summary-failed.patch
%description
The rasdaemon program is a daemon which monitors the platform
@ -115,6 +116,12 @@ if [ $1 -eq 0 ] ; then
fi
%changelog
* Sat Apr 19 2025 zhangnan <zhangnan134@huawei.com> - 0.6.7-26
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix ras-mc-ctl --summary failed
* Mon Dec 16 2024 guodashun <guodashun1@huawei.com> - 0.6.7-25
- Type:bugfix
- ID:NA