From 28ccfcf0eef1400c89b53049b1e7aeaafc92c2ff Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 31 2021 07:49:18 +0000 Subject: import device-mapper-multipath-0.4.9-135.el7_9 --- diff --git a/SOURCES/0273-RHBZ-1988462-fix-disable-changed-wwids-segfault.patch b/SOURCES/0273-RHBZ-1988462-fix-disable-changed-wwids-segfault.patch new file mode 100644 index 0000000..90c19d2 --- /dev/null +++ b/SOURCES/0273-RHBZ-1988462-fix-disable-changed-wwids-segfault.patch @@ -0,0 +1,18 @@ +--- + multipathd/main.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: multipath-tools-130222/multipathd/main.c +=================================================================== +--- multipath-tools-130222.orig/multipathd/main.c ++++ multipath-tools-130222/multipathd/main.c +@@ -856,7 +856,8 @@ uev_update_path (struct uevent *uev, str + if (!pp->wwid_changed) { + pp->wwid_changed = 1; + pp->tick = 1; +- dm_fail_path(pp->mpp->alias, pp->dev_t); ++ if (pp->mpp) ++ dm_fail_path(pp->mpp->alias, pp->dev_t); + } + } + else { diff --git a/SPECS/device-mapper-multipath.spec b/SPECS/device-mapper-multipath.spec index 1757983..26e64ad 100644 --- a/SPECS/device-mapper-multipath.spec +++ b/SPECS/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: 134%{?dist} +Release: 135%{?dist} License: GPL+ Group: System Environment/Base URL: http://christophe.varoqui.free.fr/ @@ -279,6 +279,7 @@ Patch0269: 0269-RHBZ-1804420-remove-kpartx-limit.patch Patch0270: 0270-RHBZ-1775481-segfault-fix.patch Patch0271: 0271-RHBZ-1806197-mpathconf-typo.patch Patch0272: 0272-RHBZ-1855901-lenovo-de.patch +Patch0273: 0273-RHBZ-1988462-fix-disable-changed-wwids-segfault.patch # runtime Requires: %{name}-libs = %{version}-%{release} @@ -638,6 +639,7 @@ device-mapper-multipath's libdmmp C API library %patch0270 -p1 %patch0271 -p1 %patch0272 -p1 +%patch0273 -p1 cp %{SOURCE1} . %build @@ -755,6 +757,10 @@ fi %{_pkgconfdir}/libdmmp.pc %changelog +* Fri Jul 30 2021 Benjamin Marzinski 0.4.9-135 +- Add 0273-RHBZ-1988462-fix-disable-changed-wwids-segfault.patch +- Resolves: bz #1988462 + * Mon Sep 14 2020 Benjamin Marzinski 0.4.9-134 - Add 0272-RHBZ-1855901-lenovo-de.patch - Resolves: bz #1855901