From 7f1b6e321b3c18caf960b0300b523a8af65f8041 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 18 Feb 2015 19:05:19 -0600 Subject: [PATCH] device-mapper-multipath-0.4.9-73 Add 0110-RHBZ-blacklist-vd-devs.patch * blacklist vd[a-z] devices, since they don't have a WWID for multipath to use. --- 0110-RHBZ-blacklist-vd-devs.patch | 17 +++++++++++++++++ device-mapper-multipath.spec | 9 ++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 0110-RHBZ-blacklist-vd-devs.patch diff --git a/0110-RHBZ-blacklist-vd-devs.patch b/0110-RHBZ-blacklist-vd-devs.patch new file mode 100644 index 0000000..af52d0d --- /dev/null +++ b/0110-RHBZ-blacklist-vd-devs.patch @@ -0,0 +1,17 @@ +--- + libmultipath/blacklist.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: multipath-tools-130222/libmultipath/blacklist.c +=================================================================== +--- multipath-tools-130222.orig/libmultipath/blacklist.c ++++ multipath-tools-130222/libmultipath/blacklist.c +@@ -169,7 +169,7 @@ setup_default_blist (struct config * con + if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) + return 1; + +- str = STRDUP("^(td|hd)[a-z]"); ++ str = STRDUP("^(td|hd|vd)[a-z]"); + if (!str) + return 1; + if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index 7626b94..38b73ea 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -1,7 +1,7 @@ Summary: Tools to manage multipath devices using device-mapper Name: device-mapper-multipath Version: 0.4.9 -Release: 72%{?dist} +Release: 73%{?dist} License: GPL+ Group: System Environment/Base URL: http://christophe.varoqui.free.fr/ @@ -117,6 +117,7 @@ Patch0106: 0106-RHBZ-1159337-fix-double-free.patch Patch0107: 0107-RHBZ-1169935-no-new-devs.patch Patch0108: 0108-RHBZ-1153832-kpartx-remove-devs.patch Patch0109: 0109-RH-read-only-bindings.patch +Patch0110: 0110-RHBZ-blacklist-vd-devs.patch # runtime Requires: %{name}-libs = %{version}-%{release} @@ -277,6 +278,7 @@ kpartx manages partition creation and removal for device-mapper devices. %patch0107 -p1 %patch0108 -p1 %patch0109 -p1 +%patch0110 -p1 cp %{SOURCE1} . %build @@ -375,6 +377,11 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||: %{_mandir}/man8/kpartx.8.gz %changelog +* Wed Feb 18 2015 Benjamin Marzinski 0.4.9-73 +- Add 0110-RHBZ-blacklist-vd-devs.patch + * blacklist vd[a-z] devices, since they don't have a WWID for + multipath to use. + * Thu Dec 18 2014 Benjamin Marzinski 0.4.9-72 - Modify 0107-RHBZ-1169935-no-new-devs.patch * instead of using "-n" there is now a new configuration option,