Blame SOURCES/0021-RHBZ-919119-respect-kernel-cmdline.patch

f20720
---
f20720
 multipath/multipath.rules     |    2 ++
f20720
 multipathd/multipathd.service |    1 +
f20720
 2 files changed, 3 insertions(+)
f20720
f20720
Index: multipath-tools-130222/multipath/multipath.rules
f20720
===================================================================
f20720
--- multipath-tools-130222.orig/multipath/multipath.rules
f20720
+++ multipath-tools-130222/multipath/multipath.rules
f20720
@@ -2,6 +2,8 @@
f20720
 # so name them after their devmap name
f20720
 SUBSYSTEM!="block", GOTO="end_mpath"
f20720
 
f20720
+IMPORT{cmdline}="nompath"
f20720
+ENV{nompath}=="?*", GOTO="end_mpath"
f20720
 ENV{MPATH_SBIN_PATH}="/sbin"
f20720
 TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin"
f20720
 
f20720
Index: multipath-tools-130222/multipathd/multipathd.service
f20720
===================================================================
f20720
--- multipath-tools-130222.orig/multipathd/multipathd.service
f20720
+++ multipath-tools-130222/multipathd/multipathd.service
f20720
@@ -3,6 +3,7 @@ Description=Device-Mapper Multipath Devi
f20720
 Before=iscsi.service iscsid.service lvm2-activation-early.service
f20720
 After=syslog.target
f20720
 ConditionPathExists=/etc/multipath.conf
f20720
+ConditionKernelCommandLine=!nompath
f20720
 DefaultDependencies=no
f20720
 Conflicts=shutdown.target
f20720