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

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