Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package multipath-tools for openSUSE:Factory
checked in at 2021-05-20 19:23:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old)
and /work/SRC/openSUSE:Factory/.multipath-tools.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools"
Thu May 20 19:23:55 2021 rev:131 rq:894440 version:0.8.6+10+suse.4771137
Changes:
--------
--- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes
2021-04-10 15:25:56.550277186 +0200
+++
/work/SRC/openSUSE:Factory/.multipath-tools.new.2988/multipath-tools.changes
2021-05-20 19:24:24.614102475 +0200
@@ -1,0 +2,39 @@
+Tue May 18 17:43:13 UTC 2021 - Martin Wilck <[email protected]>
+
+- Update to version 0.8.6+10+suse.47711374:
+ * Github workflows: add CI for SUSE-specific branches
+
+-------------------------------------------------------------------
+Fri Apr 2 00:01:23 UTC 2021 - Martin Wilck <[email protected]>
+
+- Disabled LTO for multipath-tools
+ * The test for is_valid_path fails if LTO is enabled, just
+ disabling it for %check is insufficient.
+
+-------------------------------------------------------------------
+Thu Apr 01 21:00:32 UTC 2021 - [email protected]
+
+- Update to version 0.8.6+9+suse.6c05a61:
+ Update to upstream 0.8.6.
+
+ * add eh_deadline option to avoid endless SCSI error handling
+ * add wwid_recheck option to detect storage configuration changes
+ * add library versioning for libmultipath, libmpathpersist etc. and
+ to libmultipath plugins
+ * move some global symbols to libmultipath (udev, logsink, etc)
+ and provide default implementations for get_multipath_config() etc.
+ This allows simplifiying libmpathpersist_example.c drastically.
+ * fixes for shutdown issues and various race conditions on exit
+ * improve cleanup on exit, fix memory leaks
+ * add libmpathvalid library
+ * fixes for SAS expanders (bsc#1178377, bsc#1178379, bsc#1177081)
+ * Avoid access to root FS while queueing IO (bsc#1178049,
+ bsc#1181234)
+ * lots of bug fixes, additions to built-in hardware table, and
+ CI improvements (bsc#1186212)
+ * kpartx: free loop device after listing partitions (boo#1107187)
+
+ Bug fixes on top of 0.8.5 mentioned below are also included in
+ this upstream version.
+
+-------------------------------------------------------------------
@@ -21 +60 @@
- (bsc#bsc#1182072, bsc#1177371)
+ (bsc#1182072, bsc#1177371)
@@ -28 +67 @@
- (bsc#1181435)
+ (bsc#1181435, bsc#1183666)
@@ -320,0 +360 @@
+ (bsc#1184260)
Old:
----
multipath-tools-0.8.5+30+suse.633836e.obscpio
New:
----
libmpathpersist-example-old.c
multipath-tools-0.8.6+10+suse.4771137.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ multipath-tools.spec ++++++
--- /var/tmp/diff_new_pack.Kk0f2p/_old 2021-05-20 19:24:25.210100031 +0200
+++ /var/tmp/diff_new_pack.Kk0f2p/_new 2021-05-20 19:24:25.214100015 +0200
@@ -16,6 +16,8 @@
#
+%global _lto_cflags %{nil}
+
# Whether to build libdmmp
# Default YES except for SLE12 / Leap 42
%if 0%{?suse_version} >= 1500
@@ -39,7 +41,7 @@
%define _sysdir usr/lib
Name: multipath-tools
-Version: 0.8.5+30+suse.633836e
+Version: 0.8.6+10+suse.4771137
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only
@@ -52,6 +54,7 @@
# Dracut conf file to make sure 11-dm-parts.rules is included in initrd
Source3: dm-parts.conf
Source4: libmpathpersist-example.c
+Source5: libmpathpersist-example-old.c
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
BuildRequires: libaio-devel
@@ -77,7 +80,8 @@
Requires: kpartx
Requires: sg3_utils
Obsoletes: multipath-tools-rbd <= %{version}
-PreReq: coreutils grep
+PreReq: coreutils
+PreReq: grep
%description
This package provides the multipath tool and the multipathd daemon
@@ -87,10 +91,12 @@
the necessary changes to the multipath maps to ensure continuous
availability of the map devices.
+
# Currently, it makes no sense to split out libmpathpersist and libmpathcmd
# separately. libmultipath has no stable API at all, and it depends
# on libmpathcmd (to be fixed). libmpathpersist depends on libmultipath
# and it loads prioritizers (to be fixed) and checkers.
+
%package -n libmpath0
Summary: Libraries for multipath-tools
# This is for libmpathcmd, which is useless without multipathd.
@@ -152,6 +158,7 @@
%setup -q -n multipath-tools-%{version}
# This must be before autopatch for code 12, otherwise build error
cp %{SOURCE4} .
+cp %{SOURCE5} .
%autopatch -p1
%build
@@ -164,7 +171,6 @@
%check
# ld fails to resolve cmocka's __wrap symbols with -flto
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
-%define _lto_cflags %{nil}
make OPTFLAGS="%{optflags}" %{_make_output_sync} %{?_smp_mflags} test
%endif
@@ -173,7 +179,7 @@
mkdir -p %{buildroot}%{_defaultlicensedir}
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/usr/%{_lib}
-for x in multipath mpathpersist mpathcmd; do
+for x in multipath mpathpersist mpathcmd mpathvalid; do
rm -f %{buildroot}/%{_lib}/lib$x.so
ln -sf /%{_lib}/lib$x.so.0 %{buildroot}/usr/%{_lib}/lib$x.so
done
@@ -238,6 +244,7 @@
/%{_lib}/libmultipath.so.0
/%{_lib}/libmpathcmd.so.0
/%{_lib}/libmpathpersist.so.0
+/%{_lib}/libmpathvalid.so.0
/%{_lib}/multipath
%license LICENSES/GPL-2.0
%license LICENSES/LGPL-2.0
@@ -249,10 +256,13 @@
/usr/%{_lib}/libmultipath.so
/usr/%{_lib}/libmpathcmd.so
/usr/%{_lib}/libmpathpersist.so
+/usr/%{_lib}/libmpathvalid.so
/usr/include/mpath_cmd.h
/usr/include/mpath_persist.h
+/usr/include/mpath_valid.h
%{_mandir}/man3/mpath_persistent_*
%doc libmpathpersist-example.c
+%doc libmpathpersist-example-old.c
%files -n kpartx
%defattr(-,root,root)
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Kk0f2p/_old 2021-05-20 19:24:25.250099867 +0200
+++ /var/tmp/diff_new_pack.Kk0f2p/_new 2021-05-20 19:24:25.254099851 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/multipath-tools.git</param>
- <param
name="changesrevision">633836e481465d042d7707b498678d3cf8216e2e</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">47711374a3d8582b68b3cd76d26ba6bb4d652e26</param></service></servicedata>
\ No newline at end of file
++++++ libmpathpersist-example-old.c ++++++
/*
* This is a minimal skeleton for code using libmpathpersist.
* Compile with "-lmpathpersist -lmultipath -ludev".
*
* Header files for libmultipath are intentionally not included
* in the multipath-tools-devel package, because libmultipath has
* no well defined API for external programs at this time.
*/
#include <mpath_persist.h>
#include <libudev.h>
struct udev *udev;
/*
* logsink determines where libmultipath log messages go
* 1 - log to syslog only
* -1 - log to syslog and stderr
* 0 - log to syslog and stderr, with timestamps
*/
int logsink;
static struct config *conf;
struct config *get_multipath_config(void) {
return conf;
}
void put_multipath_config(struct config* c)
{
}
int main(void)
{
udev = udev_new();
conf = mpath_lib_init();
if(!conf) {
udev_unref(udev);
return 1;
}
return 0;
}
++++++ libmpathpersist-example.c ++++++
--- /var/tmp/diff_new_pack.Kk0f2p/_old 2021-05-20 19:24:25.298099670 +0200
+++ /var/tmp/diff_new_pack.Kk0f2p/_new 2021-05-20 19:24:25.302099654 +0200
@@ -1,40 +1,25 @@
/*
* This is a minimal skeleton for code using libmpathpersist.
- * Compile with "-lmpathpersist -lmultipath -ludev".
+ * Compile with "-lmpathpersist -lmultipath -lmpathcmd".
*
* Header files for libmultipath are intentionally not included
* in the multipath-tools-devel package, because libmultipath has
* no well defined API for external programs at this time.
+ *
+ * With multipath-tools 0.8.6, the sample program can be drastically
+ * simplified, see below. Compare with libmpathpersist-example-old.c
+ * for 0.8.5 and older. Note that the old code can still be used.
*/
#include <mpath_persist.h>
#include <libudev.h>
-struct udev *udev;
-/*
- * logsink determines where libmultipath log messages go
- * 1 - log to syslog only
- * -1 - log to syslog and stderr
- * 0 - log to syslog and stderr, with timestamps
- */
-int logsink;
-
-static struct config *conf;
-
-struct config *get_multipath_config(void) {
- return conf;
-}
-
-void put_multipath_config(struct config* c)
-{
-}
+struct config *conf;
int main(void)
{
- udev = udev_new();
conf = mpath_lib_init();
if(!conf) {
- udev_unref(udev);
return 1;
}
return 0;
++++++ multipath-tools-0.8.5+30+suse.633836e.obscpio ->
multipath-tools-0.8.6+10+suse.4771137.obscpio ++++++
++++ 9861 lines of diff (skipped)
++++++ multipath-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.Kk0f2p/_old 2021-05-20 19:24:25.522098751 +0200
+++ /var/tmp/diff_new_pack.Kk0f2p/_new 2021-05-20 19:24:25.522098751 +0200
@@ -1,5 +1,5 @@
name: multipath-tools
-version: 0.8.5+30+suse.633836e
-mtime: 1617050092
-commit: 633836e481465d042d7707b498678d3cf8216e2e
+version: 0.8.6+10+suse.4771137
+mtime: 1618245342
+commit: 47711374a3d8582b68b3cd76d26ba6bb4d652e26