]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90multipath: start before local-fs-pre.target 321/head
authorMartin Wilck <mwilck@suse.de>
Thu, 3 Nov 2016 19:37:01 +0000 (20:37 +0100)
committerDaniel Molkentin <dmolkentin@suse.com>
Fri, 15 Dec 2017 19:42:53 +0000 (20:42 +0100)
local-fs-pre.target serves as a separator between the code for
detecting block devices and systemd's fsck/mount logic. This
patch ensures that multipathd is started before local-fs-pre.target
in the initrd. By adding a "Wants=" line for local-fs-pre.target,
it makes sure that this target is started at all.

References: bsc#1006118
Signed-off-by: Martin Wilck <mwilck@suse.de>
===================================================================

modules.d/90multipath/multipathd.service

index ab427409934f2e4303d5d4315196c71c13db2fe3..0554d954184faa16dfbcb630129d923751c9a1b4 100644 (file)
@@ -1,8 +1,9 @@
 [Unit]
 Description=Device-Mapper Multipath Device Controller
 Before=iscsi.service iscsid.service lvm2-activation-early.service
-Wants=systemd-udev-trigger.service systemd-udev-settle.service
+Wants=systemd-udev-trigger.service systemd-udev-settle.service local-fs-pre.target
 After=systemd-udev-trigger.service systemd-udev-settle.service
+Before=local-fs-pre.target
 DefaultDependencies=no
 Conflicts=shutdown.target
 ConditionKernelCommandLine=!nompath