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

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