Blame SOURCES/0214-RHBZ-1392115-set-paths-not-ready.patch

d88bf6
---
d88bf6
 multipath/multipath.rules |   11 +++++++++--
d88bf6
 1 file changed, 9 insertions(+), 2 deletions(-)
d88bf6
d88bf6
Index: multipath-tools-130222/multipath/multipath.rules
d88bf6
===================================================================
d88bf6
--- multipath-tools-130222.orig/multipath/multipath.rules
d88bf6
+++ multipath-tools-130222/multipath/multipath.rules
d88bf6
@@ -4,8 +4,14 @@ SUBSYSTEM!="block", GOTO="end_mpath"
d88bf6
 
d88bf6
 IMPORT{cmdline}="nompath"
d88bf6
 ENV{nompath}=="?*", GOTO="end_mpath"
d88bf6
-ENV{DEVTYPE}=="partition", IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH", \
d88bf6
-	GOTO="end_mpath"
d88bf6
+ENV{DEVTYPE}!="partition", GOTO="test_dev"
d88bf6
+IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH"
d88bf6
+ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{ID_FS_TYPE}="none", \
d88bf6
+	ENV{SYSTEMD_READY}="0"
d88bf6
+GOTO="end_mpath"
d88bf6
+
d88bf6
+LABEL="test_dev"
d88bf6
+
d88bf6
 ENV{MPATH_SBIN_PATH}="/sbin"
d88bf6
 TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin"
d88bf6
 TEST!="/etc/multipath.conf", GOTO="check_kpartx"
d88bf6
@@ -33,6 +39,7 @@ ENV{DM_MULTIPATH_DEVICE_PATH}=""
d88bf6
 ENV{DM_MULTIPATH_WIPE_PARTS}=""
d88bf6
 
d88bf6
 LABEL="update_timestamp"
d88bf6
+ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{SYSTEMD_READY}="0"
d88bf6
 ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{DM_MULTIPATH_WIPE_PARTS}!="1", \
d88bf6
 	ENV{DM_MULTIPATH_WIPE_PARTS}="1", \
d88bf6
 	RUN+="/sbin/partx -d --nr 1-1024 $env{DEVNAME}"