Projects
Eulaceura:Factory
mdadm
_service:obs_scm:0004-mdadm-mdcheck_start.servi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0004-mdadm-mdcheck_start.service-mdcheck_continue.service.patch of Package mdadm
From c68df6f3ed2ab5de2148577e69cd5d58745985b3 Mon Sep 17 00:00:00 2001 From: miaoguanqin <miaoguanqin@huawei.com> Date: Sat, 3 Dec 2022 10:36:55 +0800 Subject: [PATCH] mdcheck_start.service and mdcheck_continue.service set the path of Execstart to /usr/share/mdadm/mdcheck, But mdcheck was not exist in this path. When we launch service, It would execute error. We change the path of ExecStart to /usr/sbin/check, then service would br launched correctly. Signed-off-by: miaoguanqin <miaoguanqin@huawei.com> --- systemd/mdcheck_continue.service | 2 +- systemd/mdcheck_start.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/mdcheck_continue.service b/systemd/mdcheck_continue.service index 854317f..935004b 100644 --- a/systemd/mdcheck_continue.service +++ b/systemd/mdcheck_continue.service @@ -14,4 +14,4 @@ Type=oneshot Environment="MDADM_CHECK_DURATION=6 hours" EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh -ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION} +ExecStart=BINDIR/mdcheck --continue --duration ${MDADM_CHECK_DURATION} diff --git a/systemd/mdcheck_start.service b/systemd/mdcheck_start.service index 3bb3d13..58d84c6 100644 --- a/systemd/mdcheck_start.service +++ b/systemd/mdcheck_start.service @@ -14,4 +14,4 @@ Type=oneshot Environment="MDADM_CHECK_DURATION=6 hours" EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh -ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION} +ExecStart=BINDIR/mdcheck --duration ${MDADM_CHECK_DURATION} -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2