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

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