File 0304-90multipath-Start-daemon-after-udev-settle.patch of Package dracut.12460

From d72902ee8f789ccdb6db0f7fb31b9a3adf06670f Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 24 Aug 2016 09:05:01 +0200
Subject: [PATCH] 90multipath: Start daemon after udev settle

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules.d/90multipath/multipathd.service b/modules.d/90multipath/multipathd.service
index f7bc65f..0f11bd5 100644
--- a/modules.d/90multipath/multipathd.service
+++ b/modules.d/90multipath/multipathd.service
@@ -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
-- 
2.6.6

openSUSE Build Service is sponsored by