diff --git a/_service b/_service new file mode 100644 index 0000000..878309a --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/hreinecke/multipath-tools.git + + multipath-tools + 0.6.1 + sles12-sp2 + + + *multipath-tools*.tar + xz + + diff --git a/multipath-tools-0.5.0-sles12.diff.bz2 b/multipath-tools-0.5.0-sles12.diff.bz2 deleted file mode 100644 index c015db2..0000000 --- a/multipath-tools-0.5.0-sles12.diff.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:235d1a6604504b9470a137eec7d0fbae70a17d650c253ce10b6804be000b178e -size 61873 diff --git a/multipath-tools-0.5.0.tar.bz2 b/multipath-tools-0.5.0.tar.bz2 deleted file mode 100644 index 3bfd5b8..0000000 --- a/multipath-tools-0.5.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0521c2a9d48411f725a4ed62f72c61ac7bcd557f438a7364ae8b764eb3215436 -size 185499 diff --git a/multipath-tools-0.6.1.tar.xz b/multipath-tools-0.6.1.tar.xz new file mode 100644 index 0000000..2141a60 --- /dev/null +++ b/multipath-tools-0.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f15d080565165861e5cfffed25ed58fa9fe500579aa692a8b844e9d9ee66afa +size 190924 diff --git a/multipath-tools.changes b/multipath-tools.changes index 62b0a32..79f0194 100644 --- a/multipath-tools.changes +++ b/multipath-tools.changes @@ -1,7 +1,135 @@ ------------------------------------------------------------------- -Mon Jul 13 10:54:56 UTC 2015 - werner@suse.de +Fri Jun 3 08:58:52 CEST 2016 - hare@suse.de -- Make it build +- Rework patch 'move filter_devnode under vector lock' + (bsc#982348) + +------------------------------------------------------------------- +Mon May 30 08:52:53 CEST 2016 - hare@suse.de + +- multipathd: Fixup definition of set_unlocked_handler_callback() +- mpathcmd.h: Update Free Software Foundation address + +------------------------------------------------------------------- +Fri May 27 10:02:28 CEST 2016 - hare@suse.de + +- Do not install header file with mode 755 + +------------------------------------------------------------------- +Wed May 25 17:20:32 CEST 2016 - hare@suse.de + +- Update to latest upstream version 0.6.1 + * Merge suse-specific patches + * Drop multipath.conf.* files + * Update to version 0.6.1 + * multipathd: move 'filter_devnode' under vector lock + * libmultipath: use poll() in uevent_listen() + * Increase kpartx retries + * Merge Dell MD3XXX hardware table entries + * multipathd: Add 'sysfs' prioritizer (bsc#927040) + * libmultipath: call get_vpd_uid() if no uid_attribute is set + * multipathd: update defaults + +------------------------------------------------------------------- +Fri May 6 15:18:22 CEST 2016 - hare@suse.de + +- Update to latest upstream version 0.6.0 (FATE#319406) + * Update documentation + * Fix memory leak and segfault in reconfigure + * Add wwn keyword to weightedpath prioritizer + * Use 64-bit int for command key + * check partions unused before removing + * print 'fail' when remove fails + * add exclusive_pref_bi for alua prioritizer + * kpartx: verify parition devices + * multipathd: delay reloads during creation + * Cut down alua prioritizer ioctls + * Add 'ignore_new_boot_devs' option + * Add libmpathcmd library and use it internally + * retrigger uevents to try and grab uid + * Update to version 0.6.0 + +------------------------------------------------------------------- +Fri Apr 15 12:45:41 CEST 2016 - hare@suse.de + +- Port to latest upstream version (FATE#319406, FATE#320255) + * kpartx: support device names with spaces + * add raw format multipathd commands + * make kpartx -d remove all partitions + * Add find_multipaths option + * Autodetect ALUA CLARiiON configurations + * Delayed path reintegration + * enable configuration directory + * read-only bindings + * Add deferred_remove support + * correctly set partition delimiter on rename + * Add overrides section to multipath.conf + * Add additional path wildcards + * Add force_sync option + * Misc small patches + +------------------------------------------------------------------- +Thu Mar 24 09:49:45 CET 2016 - hare@suse.de + +- multipathd: do not flush maps on startup +- Use find_path_by_dev() where possible (bsc#924316) +- Fixup error return in store_path() (bsc#972329) +- Do not display message 'invalid fd' + +------------------------------------------------------------------- +Tue Mar 8 10:57:07 CET 2016 - hare@suse.de + +- Fixup overzealous warning 'empty device number' (bsc#969857) + +------------------------------------------------------------------- +Wed Feb 17 15:53:26 CET 2016 - hare@suse.de + +- multipathd: fixup signal handling (again) +- Revert 'trigger all devices on startup' +- multipathd: print error message for invalid arguments +- multipathd: block checkerloop during reconfiguration (bsc#946658) +- libmultipath: correctly initialize pp->sg_id +- multipathd: don't buffer output with systemd (bsc#954726) +- multipath.rules: Do not forward partition events (bsc#954726) +- libmultipath: improve uxlsnr handling (bsc#954726) +- multipathd: do not realloc memory in uxlsnr (bsc#954726) +- libmultipath: call get_uid() for all paths (bsc#935312) +- multipathd: Do not print misleading message 'not found in pathvec' +- multipathd: Do not update the paths vec when removing paths +- multipathd: Do not switch paths on empty multipath tables (bsc#956349) +- libmultipath: remove 'get_info' argument for adopt_paths() +- libmultipath: ensure 'dev_t' is set when store paths (bsc#924316) +- libmultipath: Do not store paths with empty dev_t (bsc#924316) +- libmultipath: Do not store paths with empty device name (bsc#924316) +- libmultipath: sysfs_set_rport_tmo still wrong (bsc#926588) +- Add LIO-ORG/SUSE RBD backend hardware defaults (bsc#947845) +- multipath: Reset alias if renaming fails (bsc#943157) + +------------------------------------------------------------------- +Fri Nov 6 13:35:22 CET 2015 - hare@suse.de + +- Fixes for md_monitor on zFCP (FATE#319070): + * strict loop timings + * multipathd: fixup a crash when invoking CLI commands + * multipathd: implement 'show map $map format $format + +------------------------------------------------------------------- +Tue Aug 25 11:58:21 CEST 2015 - hare@suse.de + +- Fixup hang in 'multipath -f' (bsc#941954) + +------------------------------------------------------------------- +Mon Aug 3 11:48:54 CEST 2015 - hare@suse.de + +- Create package for SLE12-SP1. + * Remove multipath-tools-0.5.0-sles12.diff.bz2 + * Add multipath-tools-0.5.0-sles12-sp1.diff.bz2 +- kpartx: parse emulated DASD devices +- multipathd: Fixup queueing mode in 'show maps status' (bsc#933885) +- multipathd: Accept zero-sized paths in ev_add_path +- Always set DM_UDEV_DISABLE_LIBRARY_FALLBACK (bsc#933282) +- libmultipath: Fixup 'DM_DEVICE_RELOAD' handling (bsc#933282) +- libmultipath: correctly display checker status ------------------------------------------------------------------- Wed Apr 8 11:00:43 CEST 2015 - hare@suse.de diff --git a/multipath-tools.spec b/multipath-tools.spec index 42ae99a..2e8f277 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,7 +1,7 @@ # # spec file for package multipath-tools # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,23 +23,24 @@ BuildRequires: libudev-devel BuildRequires: readline-devel BuildRequires: systemd-devel BuildRequires: udev -BuildRequires: pkgconfig(systemd) -BuildRequires: pkgconfig(udev) Url: http://christophe.varoqui.free.fr/ Requires: device-mapper >= 1.2.78 Requires: kpartx PreReq: %insserv_prereq %fillup_prereq coreutils grep -Version: 0.5.0 +Version: 0.6.1 Release: 0 Summary: Tools to Manage Multipathed Devices with the device-mapper License: GPL-2.0 Group: System/Base %{?systemd_requires} %define has_systemd 1 -Source: http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-%{version}.tar.bz2 +Source: multipath-tools-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch0: %{name}-%{version}-sles12.diff.bz2 -%global _sysdir %(pkg-config --variable=systemdutildir systemd | sed -r 's@/systemd$@@') +%if %suse_version > 1220 +%define _sysdir usr/lib +%else +%define _sysdir lib +%endif %description This package provides the tools to manage multipathed devices by @@ -93,17 +94,15 @@ Authors: %prep %setup -q -n multipath-tools-%{version} -%patch0 -p1 -echo %{_udevrulesdir} -echo %{_sysdir} %build -make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir} SYSTEMD=yes +make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir} %install -make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} install SYSTEMD=yes +make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} install mkdir -p $RPM_BUILD_ROOT/var/cache/multipath/ rm $RPM_BUILD_ROOT/%_lib/libmpathpersist.so +rm $RPM_BUILD_ROOT/%_lib/libmpathcmd.so mkdir -p $RPM_BUILD_ROOT/usr/sbin ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcmultipathd @@ -144,10 +143,10 @@ exit 0 %files %defattr(-,root,root) %doc AUTHOR COPYING README ChangeLog -%doc multipath.conf* %{_udevrulesdir}/11-dm-mpath.rules %{_udevrulesdir}/56-multipath.rules /%{_lib}/libmultipath.so.0 +/%{_lib}/libmpathcmd.so.0 /%{_lib}/libmpathpersist.so.0 /%{_lib}/multipath /sbin/multipath @@ -165,6 +164,7 @@ exit 0 %files devel %defattr(-,root,root) +/usr/include/mpath_cmd.h /usr/include/mpath_persist.h %{_mandir}/man3/mpath_persistent_*