summaryrefslogtreecommitdiffstats
path: root/0068-RHBZ-1034578-label-partition-devices.patch
diff options
context:
space:
mode:
Diffstat (limited to '0068-RHBZ-1034578-label-partition-devices.patch')
-rw-r--r--0068-RHBZ-1034578-label-partition-devices.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/0068-RHBZ-1034578-label-partition-devices.patch b/0068-RHBZ-1034578-label-partition-devices.patch
new file mode 100644
index 0000000..e8008f7
--- /dev/null
+++ b/0068-RHBZ-1034578-label-partition-devices.patch
@@ -0,0 +1,18 @@
+---
+ multipath/multipath.rules | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: multipath-tools-130222/multipath/multipath.rules
+===================================================================
+--- multipath-tools-130222.orig/multipath/multipath.rules
++++ multipath-tools-130222/multipath/multipath.rules
+@@ -4,7 +4,8 @@ SUBSYSTEM!="block", GOTO="end_mpath"
+
+ IMPORT{cmdline}="nompath"
+ ENV{nompath}=="?*", GOTO="end_mpath"
+-ENV{DEVTYPE}=="partition", GOTO="end_mpath"
++ENV{DEVTYPE}=="partition", IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH", \
++ GOTO="end_mpath"
+ ENV{MPATH_SBIN_PATH}="/sbin"
+ TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin"
+ TEST!="/etc/multipath.conf", GOTO="check_kpartx"