Accepting request 1030690 from home:mwilck:multipath

- Update to version 0.9.2+57+suse.cf3c1e9:
  * Fix multipathd authorization bypass and symlink attack
    (bsc#1202739 CVE-2022-41973 CVE-2022-41974)
  * Use "queue_mode bio" for NVMeoF/TCP devices
  * Upstream bug fixes and hwtable updates

OBS-URL: https://build.opensuse.org/request/show/1030690
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=295
This commit is contained in:
Martin Wilck 2022-10-24 08:46:58 +00:00 committed by Git OBS Bridge
parent 8dff34fb0d
commit 72c45ff37d
7 changed files with 23 additions and 13 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
<param name="changesrevision">9c6c43556abfa2cc4133cee88709cec33b1f7b83</param></service></servicedata>
<param name="changesrevision">cf3c1e964c0cf482cce2a32b8835be688f46841c</param></service></servicedata>

2
multipath-dracut.conf Normal file
View File

@ -0,0 +1,2 @@
# Make sure the tmpfiles entry exists in initramfs already
install_items+=" @TMPFILESDIR@/multipath.conf "

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba0163b895560da7260bcd9963eac14f8141785e2077b6011803bae0581709df
size 2731020

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58b8d35647452a96a25c8420a1513cef7042e872f7685d07c6ab23f67cc7bb21
size 2762252

View File

@ -1,9 +1,11 @@
-------------------------------------------------------------------
Fri Sep 9 19:38:03 UTC 2022 - Martin Wilck <mwilck@suse.com>
Mon Oct 24 08:22:20 UTC 2022 - mwilck@suse.com
- Update to version 0.9.1+52+suse.be8809e:
* Code-identical to 0.9.1+48+suse.9c6c435 (merge in git repo
to preserve history; fix revision in _service file).
- Update to version 0.9.2+57+suse.cf3c1e9:
* Fix multipathd authorization bypass and symlink attack
(bsc#1202739 CVE-2022-41973 CVE-2022-41974)
* Use "queue_mode bio" for NVMeoF/TCP devices
* Upstream bug fixes and hwtable updates
-------------------------------------------------------------------
Wed Sep 7 13:52:36 UTC 2022 - Martin Wilck <mwilck@suse.com>

View File

@ -1,4 +1,4 @@
name: multipath-tools
version: 0.9.1+52+suse.be8809e
mtime: 1662752041
commit: be8809e0370fab9f72ca0e3c3b642ef7ebc4ced5
version: 0.9.2+57+suse.cf3c1e9
mtime: 1666599331
commit: cf3c1e964c0cf482cce2a32b8835be688f46841c

View File

@ -34,7 +34,7 @@
%define libdmmp_version %(echo %{_libdmmp_version} | tr . _)
Name: multipath-tools
Version: 0.9.1+52+suse.be8809e
Version: 0.9.2+57+suse.cf3c1e9
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only AND GPL-3.0-or-later
@ -48,6 +48,7 @@ Source2: dont-del-part-nodes.rules
Source3: dm-parts.conf
Source4: libmpathpersist-example.c
Source5: libmpathpersist-example-old.c
Source6: multipath-dracut.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
BuildRequires: libaio-devel
@ -188,6 +189,8 @@ mkdir -p %{buildroot}/usr/lib/modules-load.d
install -m 644 -D %{SOURCE1} "%{buildroot}/usr/lib/modules-load.d/multipath.conf"
install -m 644 %{SOURCE2} %{buildroot}%{_udevrulesdir}/00-dont-del-part-nodes.rules
install -m 644 -D %{SOURCE3} %{buildroot}/usr/lib/dracut/dracut.conf.d/dm-parts.conf
install -m 644 -D %{SOURCE6} %{buildroot}/usr/lib/dracut/dracut.conf.d/multipath.conf
sed -i 's,@TMPFILESDIR@,%{_tmpfilesdir},' %{buildroot}/usr/lib/dracut/dracut.conf.d/multipath.conf
%post -n libmpath0 -p %{run_ldconfig}
%postun -n libmpath0 -p %{run_ldconfig}
@ -198,6 +201,7 @@ install -m 644 -D %{SOURCE3} %{buildroot}/usr/lib/dracut/dracut.conf.d/dm-parts.
%post
[ -f /.buildenv ] && exit 0
%tmpfiles_create %{_tmpfilesdir}/multipath.conf
%service_add_post multipathd.socket multipathd.service
if [ $1 -eq 1 ]; then
[ ! -x /sbin/modprobe ] || /sbin/modprobe dm_multipath || true
@ -233,12 +237,14 @@ exit 0
/usr/lib/modules-load.d/multipath.conf
%dir /usr/lib/dracut
%dir /usr/lib/dracut/dracut.conf.d
/usr/lib/dracut/dracut.conf.d/multipath.conf
%{_tmpfilesdir}/multipath.conf
%{_mandir}/man8/multipath.8*
%{_mandir}/man5/multipath.conf.5*
%{_mandir}/man8/multipathd.8*
%{_mandir}/man8/multipathc.8*
%{_mandir}/man8/mpathpersist.8*
%ghost /run/multipath
%files -n libmpath0
%{libdir}/libmultipath.so.0