]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90multipath: Start daemon after udev settle
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2016 07:05:01 +0000 (09:05 +0200)
committerDaniel Molkentin <dmolkentin@suse.com>
Fri, 15 Dec 2017 19:41:59 +0000 (20:41 +0100)
We need to wait until udev has processed all events, otherwise we'll
risk of misdetecting devices. This might cause a temporary interruption
during which multipath removes a device-mapper device, which then
causes a booting failure.

References: bsc#986734

Signed-off-by: Hannes Reinecke <hare@suse.com>
modules.d/90multipath/multipathd.service

index f7bc65fe2837a020db443ac17cba6b60e0aa9182..0f11bd5028a15e420e388ac571781825740cac86 100644 (file)
@@ -1,6 +1,8 @@
 [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
+After=systemd-udev-trigger.service systemd-udev-settle.service
 DefaultDependencies=no
 Conflicts=shutdown.target
 ConditionKernelCommandLine=!nompath