[dm-devel] [PATCH 3/4] multipathd.service: add dependency on initrd-cleanup.service

mwilck at suse.com mwilck at suse.com
Tue Dec 7 20:04:01 UTC 2021


From: Martin Wilck <mwilck at suse.com>

This is necessary in the initramfs. With this added, almost no
differences between our shipped multipathd.service and the one
shipped in dracut remain. The rest should be fixed in dracut.

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 multipathd/multipathd.service | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
index 5f2d637..530f012 100644
--- a/multipathd/multipathd.service
+++ b/multipathd/multipathd.service
@@ -5,8 +5,10 @@ Before=local-fs-pre.target blk-availability.service shutdown.target
 Wants=systemd-udevd-kernel.socket
 After=systemd-udevd-kernel.socket
 After=multipathd.socket systemd-remount-fs.service
+Before=initrd-cleanup.service
 DefaultDependencies=no
 Conflicts=shutdown.target
+Conflicts=initrd-cleanup.service
 ConditionKernelCommandLine=!nompath
 ConditionKernelCommandLine=!multipath=off
 ConditionVirtualization=!container
-- 
2.34.0





More information about the dm-devel mailing list