72c1204567
Now mdcheck service can't be run successfully. We need to put mdcheck in to the right place (/usr/share/mdadm/mdcheck) and it needs to remove the dependency of mdadm_env.sh which is fixed in patch 76c224c6c. And there is a history problem. It needed KillMode=none before, so it removed the upstream patch 52c67fcdd. Now this problem has been fixed, so we can do the backport more easilly now. We don't need to remove the upstream patch here again. It adds a rhel only feature too for transient failure. Resolves: rhbz#2159923, rhbz#2150865, rhbz#2124071, rhbz#2203859 Signed-off-by: Xiao Ni <xni@redhat.com>
30 lines
989 B
Diff
30 lines
989 B
Diff
From 9b6e3b43381245cb128ad98bf117a565ce5defe5 Mon Sep 17 00:00:00 2001
|
|
From: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
|
|
Date: Thu, 23 Mar 2023 17:13:18 +0100
|
|
Subject: [PATCH 114/125] Revert "Revert "mdadm/systemd: remove KillMode=none
|
|
from service file""
|
|
|
|
This reverts commit 28a083955c6f58f8e582734c8c82aff909a7d461.
|
|
|
|
Resolved by commit 723d1df4946e ("mdmon: Improve switchroot
|
|
interactions.") We are ready to drop it.
|
|
|
|
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
|
|
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
|
|
---
|
|
systemd/mdadm-grow-continue@.service | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/systemd/mdadm-grow-continue@.service b/systemd/mdadm-grow-continue@.service
|
|
index 9ccadca3..64b8254a 100644
|
|
--- a/systemd/mdadm-grow-continue@.service
|
|
+++ b/systemd/mdadm-grow-continue@.service
|
|
@@ -15,4 +15,3 @@ ExecStart=BINDIR/mdadm --grow --continue /dev/%I
|
|
StandardInput=null
|
|
StandardOutput=null
|
|
StandardError=null
|
|
-KillMode=none
|
|
--
|
|
2.38.1
|
|
|