1
0
Commit Graph

128 Commits

Author SHA256 Message Date
Martin Wilck
b4c488216e Accepting request 803707 from home:mwilck:branches:Base:System
- Update to version 0.8.4+31+suse.8f53764:
  * Fix sporadic build failures caused by missing build dependencies

- Update to version 0.8.4+29+suse.c27ed8d:
  * multipath-tools: Makefile.inc: set -Wno-error=clobbered
  * Makefile.inc: keep warning flags during rpm build
  * Eliminate compiler warnings on 32bit build.
  * Fixes for tests under i586
- Spec file: add %check section to run multipath-tools CI
  * not on SLE12, as cmocka is missing
  * add build dependency on cmocka for building tests
  * run "make test" with parallel make

- Update to version 0.8.4+19+suse.48fc2f4:
  * multipath: add "-e" option to enable foreign libraries
  * libmultipath: set "enable_foreign" to NONE by default
  * deleted libmultipath-set-enable_foreign-to-NONE-by-default.patch
    (included in factory git repo now).
  * Makefile: dependency fixes for parallel build
- Get rid of %is_opensuse:  
  * drop build workaround for Leap 42.1
  * build libdmmp for everything except SLE12/Leap42 and older
- Other spec file updates:
  * use %make_build to speed up build (possible with 0.8.4)
- Migrated to .obscpio format.

- Update to version 0.8.4+16+suse.f319f7ea
- Changed github workflow back from merge-based to rebase-based.
  This makes it much easier to assess differences between upstream
  and SUSE code.

OBS-URL: https://build.opensuse.org/request/show/803707
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=212
2020-05-13 14:11:02 +00:00
Martin Wilck
f0cf278ce1 Accepting request 766909 from home:dimstar:Factory
- BuildRequire pkgconfig((lib)?udev) instead of (lib)?udev: allow
  OBS to shortcut through the -mini flavors.

OBS-URL: https://build.opensuse.org/request/show/766909
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=210
2020-01-24 14:26:48 +00:00
Martin Wilck
beb859fe78 Accepting request 764959 from home:mwilck:branches:Base:System
- Update to version 0.8.3+10+suse.86684b9:
  * libmultipath: fix compilation with -fno-common
  (boo#1160403)

OBS-URL: https://build.opensuse.org/request/show/764959
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=208
2020-01-16 12:25:30 +00:00
Martin Wilck
ed53908a79 Accepting request 734962 from home:mwilck:branches:Base:System
- Update to version 0.8.3+9+suse.f6f2a52
- Minor upstream improvements and bug fixes
  * libmultipath: EMC PowerMax NVMe device config

OBS-URL: https://build.opensuse.org/request/show/734962
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=206
2019-10-04 10:43:08 +00:00
Martin Wilck
a9ba9e480a Accepting request 728278 from home:mwilck:branches:Base:System
- Update to version 0.8.2+27+suse.3ff280b:
  * Added upstream patch to fix premature path reinstantiation
    with san_path_err_XX (boo#1149319)

OBS-URL: https://build.opensuse.org/request/show/728278
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=204
2019-09-04 14:54:35 +00:00
Martin Wilck
1549024e87 Accepting request 726966 from home:mwilck:branches:Base:System
----------------------------------------------------------------------------------------------
- Update to version 0.8.2+26+suse.d884195:
- Don't activate NVMe native multipath support by default
  * multipath.conf.5: document foreign library support
  * multipath.conf: add "enable_foreign" parameter (bsc#1139837)
  * Set default for "enable_foreign" to "NONE" (bsc#1139837)
    added libmultipath-set-enable_foreign-to-NONE-by-default.patch
- Added reviewed upstream patches
  * multipath: update man pages
  * multipathd: use marginal_pathgroups
  * libmutipath: deprecate delay_*_checks
  * libmultipath: add marginal_pathgroups config option
  * tests: add tests for grouping marginal paths.
  * libmultipath: make group_paths handle marginal paths
  * libmultipath: make pgpolicyfn take a paths vector
  * libmultipath: consolidate group_by_* functions
  * libmultipath: fix double free in pgpolicyfn error paths
  * tests: update pgpolicy tests to work with group_paths()
  * libmultipath: add wrapper function around pgpolicyfn
  * tests: add path grouping policy unit tests.
  * libmultipath: add marginal paths and groups infrastructure
  added basic NVMe ANA support (bsc#1119898, bsc#1118495)

OBS-URL: https://build.opensuse.org/request/show/726966
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=201
2019-08-29 09:10:14 +00:00
Hannes Reinecke
4e924d63cc Accepting request 715695 from home:mwilck:branches:Base:System
- Update to version 0.8.2+11+suse.0f6a649:
  * kpartx: recognize DASD on loop devices again (bsc#1139775)
  * Bump version to 0.8.2 - most changes were already in SUSE tree
  * Man page improvements

OBS-URL: https://build.opensuse.org/request/show/715695
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=199
2019-07-16 13:21:41 +00:00
Martin Wilck
dd73def56c Accepting request 713117 from home:mwilck:branches:Base:System
- Update to version 0.8.1+59+suse.f947184:
  * libmultipath: trigger uevents for partitions, too (bsc#1140146)

- Update to version 0.8.1+58+suse.2af8f92:
  * libmultipath: more cautious blacklisting by missing property
    (don't blacklist paths because of temporarily missing
     udev properties)
  * libmultipath: fix memory leak with "uid_attrs" config option
  * libmultipath: get_uid: straighten the fallback logic
- Fix SCSI VPD 0x80/0x83 parsing 
- Fix compiler warnings introduced by gcc 9:
  * -Wstringop-overflow, -Wstringop-truncation, 
    -Waddress-of-packed-member

   (bsc#1133861)

OBS-URL: https://build.opensuse.org/request/show/713117
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=197
2019-07-02 22:36:31 +00:00
Martin Wilck
4ac31b222a Accepting request 711931 from home:mwilck:branches:Base:System
- Update to version 0.8.1+28+suse.fea562a:
  * mpathpersist: optimize for setups with many LUNs (bsc#1134648)
  * mpathpersist: add option -f/--batch-file (bsc#1134648)
  * libmultipath: get_prio(): really don't reset prio for
    inaccessible paths (bsc#1118495)
- Upstream bug fixes from dm-devel (bsc#1139369):
  * multipath: call store_pathinfo with DI_BLACKLIST
  * multipathd: fix REALLOC_REPLY with max length reply
  * libmultipath: make vector_foreach_slot_backwards work as expected
  * multipathd: fix client response for socket activation
  * various minor fixes (coverity)

  * libmultipath: hwtable: add Lenovo DE series (bsc#1125507)

OBS-URL: https://build.opensuse.org/request/show/711931
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=195
2019-06-25 20:45:53 +00:00
Martin Wilck
d20c5e9589 Accepting request 699727 from home:mwilck:multipath
- Disable kmod() style dependencies again (bsc#1119414)
  * For TW, dependencies will be autogenerated
    (gh#openSUSE/rpm-config-SUSE#3)
  * For SLE, feature is currently rejected (jsc#SLE-3853)
- Update to version 0.8.1+8+suse.8c11498:
  * Avoid deadlock situation during udev settle
  (bsc#1131789, bsc#1125145)
    - multipath -u: test socket connection in non-blocking mode
  * Fix priority handling for offline paths
  (bsc#1118495)
- Update to upstream 0.8.1
  * Avoid device IO in "multipath -u" (bsc#1125145)
  * multipathd: protect all access to running_state
  (bsc##1110060, bsc#1110439)
  * Improve handling of changed WWIDs and temporary failure
  to obtain WWID. Option "disable_changed_wwids" is now ignored.
  * Fixes for PATH_PENDING state handling (bsc#1125043)

OBS-URL: https://build.opensuse.org/request/show/699727
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=193
2019-04-30 15:10:46 +00:00
Martin Wilck
4cc9c05ee5 Accepting request 694606 from home:jengelh:branches:Base:System
- Trim %if..%endif guards that do not affect the build result.
- Combine %service_* calls to reduce generated code.
- Make use of %make_install.

OBS-URL: https://build.opensuse.org/request/show/694606
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=191
2019-04-17 18:57:45 +00:00
Martin Wilck
29ec51c450 Accepting request 690443 from home:mwilck:multipath
- Re-enable kmod-style dependencies for multipath-tools package
  (bsc#1119414)
- Separate out libmpath0 (bsc#1119414)
- Spec file improvements
  * Add Conflicts: for older multipath-tools to libmpath0
  * Move license files to the libmpath0 package, which contains the
    code with complex licensing. The executables are GPL-2.0 anyway.
  * Remove bogus dependency of -devel package on device-mapper
  * -devel package depends on libmpath0, not multipath-tools
  * Remove %dir %{_defaultlicensedir} for SLE12-SP3 and newer
    (John Vandenberg <jayvdb@gmail.com>)
  * Remove unused /var/cache/multipath directory
  * Remove check for multipath maps in %pre and %post
  * Remove SLE11-specific multipathd service stop / start from
    %pre / %post
  * Remove obsolete tools from package description (bsc#1129827)
  * Add -n to %service_del_{pre,post}un for multipathd.socket

- Update to version 0.8.0+17+suse.a28893f:
  * Code-identical to 0.7.9+139+suse.ed9d450, except for new
    version number
- Disable kmod() style dependencies for now, as they are causing
  problems with image builds (bsc#1119414). They'd been active
  for SLE15-SP1 only, anyway.
- _service: determine "tag offset" manually, the patch count
  determined by git is far too high.

- Fix module name in multipath.conf (bsc#1119414)
  * The modules-load.d entry must match the filename exactly

OBS-URL: https://build.opensuse.org/request/show/690443
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=189
2019-04-01 19:21:40 +00:00
Martin Wilck
58fdadf9d3 Accepting request 682516 from home:mwilck:branches:Base:System
- Update to version 0.7.9+139+suse.ed9d450:
  * multipath-tools: Build: properly parse systemd's version

OBS-URL: https://build.opensuse.org/request/show/682516
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=187
2019-03-07 15:20:02 +00:00
Martin Wilck
94eff79105 Accepting request 681784 from home:mwilck:branches:Base:System
- Add kmod(xyz) style dependencies for SLE15-SP1 
  (jsc#SLE-3853, fate#326579)

- Update to version 0.7.9+138+suse.0edd0a2:
- Include reviewed fixes from upstream
  * libmutipath: continue to use old state on PATH_PENDING
  * libmultipath: disable user_friendly_names for NetApp
  * multipath: blacklist zram devices
  * various fixes for martinal path code
  * minor fixes suggested by coverity
- Bug fixes:
  * multipathd: Fix miscounting active paths (bsc#1125043)
  * multipathd: avoid null pointer dereference in LOG_MSG
  (bsc#1127873)

OBS-URL: https://build.opensuse.org/request/show/681784
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=182
2019-03-05 14:53:39 +00:00
Martin Wilck
f16aaf9fbb Accepting request 664883 from home:mwilck:branches:Base:System
Added Requires(post) on suse-module-tools

OBS-URL: https://build.opensuse.org/request/show/664883
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=180
2019-01-11 21:31:20 +00:00
Martin Wilck
6781f15af4 Accepting request 664873 from home:mwilck:branches:Base:System
- Add BuildRequires on suse-module-tools
  * we need it for regenerate_initrd_posttrans

OBS-URL: https://build.opensuse.org/request/show/664873
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=179
2019-01-11 20:46:11 +00:00
Martin Wilck
72888505f9 Accepting request 664112 from home:mwilck:branches:Base:System
- Update to version 0.7.9+111+suse.b4232b7:
- merged upstream cb4a979a (SUSE bug fixes merged upstream,
  code-identical to previous release).

OBS-URL: https://build.opensuse.org/request/show/664112
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=176
2019-01-09 14:59:42 +00:00
Martin Wilck
0201822eea Accepting request 663860 from home:mwilck:branches:Base:System
- Update to version 0.7.9+109+suse.203c1cf:
  * multipathd: avoid crash in cli_list_path

OBS-URL: https://build.opensuse.org/request/show/663860
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=174
2019-01-08 23:30:26 +00:00
Martin Wilck
54f10a885b Accepting request 663641 from home:mwilck:branches:Base:System
- Update to version 0.7.9+108+suse.3fd53bf:
  * libmultipath: fix compilation with older kernel headers
  (bsc#1121066)
- merged upstream fb824725
  * Improved NVMe support in both native and dm-mpath mode
  added basic NVMe ANA support (bsc#1119898)
  * multipathd: fix daemon not really shutdown
  (bsc##1110060, bsc#1110439)

- Update to version 0.7.9+90+suse.f81e290:
  * libmultipath: Increase SERIAL_SIZE to 128 bytes
  (bsc#1107179)

- Update to version 0.7.9+89+suse.df77b66:
- re-enable "san_path_err_xy" options
  These have been removed upstream, but they were supported
  in SLE-15/Leap15.0, so we can't simply throw them away.
  Improve documentation, mark them as deprecated, but keep
  the code in place.

OBS-URL: https://build.opensuse.org/request/show/663641
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=173
2019-01-08 21:47:57 +00:00
Martin Wilck
ab8f565443 Accepting request 657556 from home:mwilck:branches:Base:System
- Update to version 0.7.9+85+suse.766b95e:
  * upstream patch series to make verbosity level 3
    less verbose and thus better usable (bsc#1118937)
  * fix for handling device size mismatch in coalesce_paths()
  (bsc#1037379)
  * libmultipath: fix false removes in dmevents polling code
  (bsc#1116272)
  * Spec file: remove build dependency on dracut which causes
    build errors for some distributions

OBS-URL: https://build.opensuse.org/request/show/657556
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=170
2018-12-12 13:23:16 +00:00
3d351443b9 Accepting request 652111 from home:mwilck:branches:Base:System
- Update to version 0.7.9+58+suse.0790830:
  * libmpathpersist: fix off-by-one error in PRIN length check
  (bsc#1099007)
  * multipathd: fix mpp->hwe handling when paths are freed
  (fix possible crash caused by new hardware table code)

- Update to version 0.7.9+55+suse.9fc8439:
  (note the "55" is due to former merge operations. We actually
  only have 7 patches on top of upstream. All other patches
  referenced below as "not upstream" have been merged).
  * Bump version to 0.7.9
  * multipathd: reset delay_wait_checks counter on failure
  (bsc#1114771)
  * multipathd: fix irritating "minor number mismatch" message
  (bsc#1111116)
  * fix posible failure to shut down (bsc#1110060, bsc#1110439)
  * upstream "checker overhaul" - cleanups and improvements for
  path checkers
  * Upstream fixes for failures handling path initializiation
  * various small upstream bug fixes.

OBS-URL: https://build.opensuse.org/request/show/652111
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=168
2018-12-06 14:00:02 +00:00
Martin Wilck
04beb2b221 Accepting request 639755 from home:mwilck:branches:Base:System
- Update to version 0.7.7+136+suse.19bb285:
  Not-yet-merged bug fixes from upstream, and SUSE bug fixes:
  * multipathd: try SCSI persistent reservations for SCSI only
  * libmultipath: allow sysfs_pathinfo to return SKIPPED (bsc#1098458)
  * libmultipath: Fixup updating paths (bsc#1110418)
  * multipathd: fix memory leak on error in configure (bsc#1110418)
  * multipathd: remove useless check and fix format
  * multipathd: minor fixes (bsc#1110418)
  * multipathd: function return value tweaks (bsc#1110418)
  * multipath: fix max array size in print_cmd_valid (bsc#1110418)
  * libmutipath: don't use malformed uevents (bsc#1110418)
  * libmultipath: fix null dereference int alloc_path_group (bsc#1110418)
  * libmultipath: fix memory issue in path_latency prio (bsc#1110418)
  * libmultipath: remove unused code
  * libmultipath: _install_keyword cleanup
  * libmultipath: fix length issues in get_vpd_sgio (bsc#1110418)
  * libmultipath: fix set_int error path
  * multipathd: decrease log level of uevent messages (bsc#1110586)
  * multipathd: fix version check for DM_DEV_ARM_POLL ioctl (bsc#1110587)
  * libmultipath: pathinfo: skip hidden devices (bsc#1110586)
  * libmultipath: nvme: shorter topology output
  * libmultipath: nvme: fix path detection for kernel 4.16 (bsc#1091112)
  * libmultipath: fix gcc 8.1 "truncated output" warnings (bsc#1099007)
  * (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
  * libmpathpersist: fix byte swapping for big endian systems (bsc#1099036)
  * multipath-tools/tests: add tests for get_unaligned_beXX (bsc#1099036) 
  * libmultipath: add (get|put)_unaligned_be64 (bsc#1099036)
  * libmpathpersist: fix stack overflow in mpath_format_readfullstatus()
  (bsc#1099007)
  * libmpathpersist: fix typo in mpath_format_readfullstatus (bsc#1099007)

OBS-URL: https://build.opensuse.org/request/show/639755
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=166
2018-10-03 13:02:51 +00:00
Martin Wilck
ec2ecf876d Accepting request 621304 from home:mwilck:branches:Base:System
This fixes the problem with the previous submission
(missing Obsoletes: tag)

- Update to version 0.7.7+75+suse.6287aef:
  Added minor updates from upstream
  * multipath-tools: add info about how to enable ALUA in ONTAP
  * multipath-tools: add directio path_checker for DASD devices
  * multipath-tools: make Product Name mandatory and add all of them
  Minor rebase, as some SUSE patches have been merged upstream
  (all mentioned in previous changelogs)

- Update to version 0.7.7+72+suse.4b24466:
 * multipath: fix return code handling in delegate_to_multipathd
  (bsc#1098177)
  * multipath: don't start multipathd unnecessarily
  (bsc#1098177)

  * added Obsoletes: for multipath-tools-rbd.
  * libmultipath: Fix sgio_get_vpd() (bsc#1099484)

OBS-URL: https://build.opensuse.org/request/show/621304
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=164
2018-07-17 09:32:40 +00:00
adf2bbf898 Accepting request 619018 from home:mwilck:branches:Base:System
- Update to version 0.7.7+70+suse.4a5941e:
  * libmultipath: change partition_delimiter default to "-part"
  (bsc#1073622, bsc#1056526)
  * change default for find_multipaths to "greedy" (bsc#1099054)
  * libmultipath: allow distributions to change partition_delim default
  (bsc#1073622, bsc#1056526)

- Update to version 0.7.7+67+suse.a7d1e14:
- RBD/RADOS backend support has been removed upstream
  remove support for it in openSUSE, too (boo#1099037)
- libdmmp version has changed to 0.2.0
- New patches not yet upstream:
  * multipathd: fix mpp->hwe handling on path removal (boo#1099028)
  * libmultipath: print correct default for delay_*_checks (boo#1099026)
  * libmultipath: avoid error messages from RDAC check (bsc#1075539)
  * (lib)mpathpersist: use O_RDONLY file descriptors (bsc#1093220)
  * libmpathpersist: fix byte swapping for big endian systems (bsc#1099036)
  * multipath-tools/tests: add tests for get_unaligned_beXX (bsc#1099036)
  * libmultipath: add (get|put)_unaligned_be64 (bsc#1099036)
  * libmpathpersist: fix stack overflow in mpath_format_readfullstatus()
  (bsc#1099007)
  * multipathd: fix buffer size in cli_getprkey (bsc#1099028)
  * libmultipath: fix gcc 8.1 "truncated output" warnings
  (bsc#1099007)
  * libmpathpersist: fix typo in mpath_format_readfullstatus
  (bsc#1099007)
  * libmpathpersist: remove duplicate test in readfullstatus
  (bsc#1099007)
- SUSE specific patches preserved:
  * multipath.rules: temporary rule to obtain ID_WWN for NVMe (bsc#1076828)

OBS-URL: https://build.opensuse.org/request/show/619018
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=163
2018-07-02 08:57:41 +00:00
Hannes Reinecke
9e8d3d4b8f Accepting request 596032 from home:mwilck:branches:Base:System
- Update to version 0.7.3+67+suse.8f0c27b:
  * disable nvme foreign library (bsc#1089353)

OBS-URL: https://build.opensuse.org/request/show/596032
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=161
2018-04-13 12:39:47 +00:00
Martin Wilck
ff2d0b01c4 Accepting request 595374 from home:mwilck:branches:Base:System
- No functional changes
- Fixed rpmlint warnings (bsc#1088946)
  * multipath-tools-devel: moved .so files to /usr/lib[64]
  * added version dependencies for -devel packages

- No functional changes
  * fixed SPDX syntax (and -> AND)
  * added /usr/share/licenses

OBS-URL: https://build.opensuse.org/request/show/595374
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=160
2018-04-10 21:55:43 +00:00
Martin Wilck
7295842450 Accepting request 595137 from home:mwilck:branches:Base:System
- No functional changes, just licenses
- Spec file: fix %license tags and info after closer inspection
  (bsc#1088801)
  * kpartx is under GPL-2.0-only
  * rbd is under LGPL-2.1-only  
- Update to version 0.7.3+66+suse.dc5fe2d: Fix licensing info (bsc#1088801)
  * Added fossology assessment as README.licenses
  * multipath-tools: create LICENSES dir with the text of all used licences

- Update to version 0.7.3+61+suse.d4d0494:
  * 11-dm-mpath.rules: dont't run "multipath -U" during coldplug
 (bsc#1084748)

OBS-URL: https://build.opensuse.org/request/show/595137
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=159
2018-04-10 08:32:36 +00:00
Martin Wilck
6cc6152ab8 Accepting request 593747 from home:mwilck:branches:Base:System
Pushing per bsc#1085212, comment 152.

- Fixed license tags in spec file
  * multipath tools / libmultipath is GPL-2.0-only
  * libmpathcmd is LGPL-2.0-or-later
  * kpartx is GPL-2.0-or-later
  * libdmmp is GPL-3.0-or-later
  * adopt SPDX format.

- Update to version 0.7.3+60+suse.46ac839:
  * libmultipath/hwtable: don't hard-code ALUA for IBM IPR
  (bsc#1085212, bsc#1075129)

OBS-URL: https://build.opensuse.org/request/show/593747
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=157
2018-04-05 10:06:45 +00:00
Martin Wilck
00c5772d7a Accepting request 589742 from home:mwilck:branches:Base:System
- Update to version 0.7.3+59+suse.1b6191c26774:
  * libmultipath: don't reject maps with undefined prio (bsc#1085212,
  bsc#1075129)
  * multipathd: handle errors in uxlsnr as fatal (bsc#1086025)

- Update to version 0.7.3+57+suse.bb6be4c8b4ca:
  * multipathd: fix signal blocking logic (bsc#1086025)
  * multipath-tools: handle exit signal immediately (bsc#1086025)
  * multipath: fix DEF_TIMEOUT use (bsc#1086014)
  * multipath-tools: foreign/NVME implementation v2 (upstream accepted)
    (bsc#1082419)

OBS-URL: https://build.opensuse.org/request/show/589742
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=155
2018-03-21 12:35:07 +00:00
b8708d373c Accepting request 580294 from home:mwilck:branches:Base:System
- Update to version 0.7.3+53+suse.140f4937e9e7:
  * libmultipath: fix wrong output of "multipath -t" (bsc#1082835)

OBS-URL: https://build.opensuse.org/request/show/580294
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=153
2018-02-27 22:06:47 +00:00
Martin Wilck
388434ee95 Accepting request 579490 from home:mwilck:branches:Base:System
- Update to version 0.7.3+52+suse.08a969b7fce0:
- Add limited support for displaying native NVMe multipath
  (bsc#1082419)
  * libmultipath: foreign/nvme: implement path display
  * multipathd: use foreign API
  * multipath: use foreign API
  * libmultipath/foreign: nvme foreign library
  * libmultipath/print: add "%G - foreign" wildcard
  * libmultipath: API for foreign multipath handling
  * libmultipath: print: use generic API for get_x_layout()
  * libmultipath: print: convert API to generic data type
  * libmultipath: "generic multipath" interface
  * libmultipath: add vector_convert()
  * libmultipath: add vector_free_const()
  * libmultipath: get rid of selector "hack" in print.c
- Fix locking errors detected by coverity check (bsc#1082418)
  * checkers/rbd: missing pthread_lock() on failure path
  * libmultipath: fix deadlock in tur.c

  (bsc#1075539, bsc#1081241)

OBS-URL: https://build.opensuse.org/request/show/579490
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=151
2018-02-23 11:48:44 +00:00
Martin Wilck
029ab04537 Accepting request 571224 from home:mwilck:branches:Base:System
- Update to version 0.7.3+38+suse.a16beed5280a:
  * kpartx: don't delete partitions from partitions (bsc#1078362)
  * hwtable: add latest updates (bsc#1078363)
  * multipathd.service: set TasksMax=infinity (bsc#1060616)

OBS-URL: https://build.opensuse.org/request/show/571224
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=147
2018-01-30 20:22:47 +00:00
Martin Wilck
e172db0d75 Accepting request 569881 from home:mwilck:branches:Base:System
- Update to version 0.7.3+31+suse.6804bb73f72d:
  * libmultipath: hwtable: no_path_retry="queue" for NetApp NVMe
  (bsc#1073319)

OBS-URL: https://build.opensuse.org/request/show/569881
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=145
2018-01-26 14:13:48 +00:00
Martin Wilck
788510872c Accepting request 567775 from home:mwilck:branches:Base:System
- Update to version 0.7.3+30+suse.6b5ed839:
  * multipath.rules: temporary rule to obtain ID_WWN for NVMe
  (bsc#1076828)
  * libmultipath: ignore natively multipathed NVME devices
  (bsc#1076828)
  * multipath.rules: handle NVME devices (bsc#1076828)
  * FIX "libmultipath: hwtable: multibus for NetApp NVMe-FC"
  (bsc#1073319)
  * libmultipath: increase path product_id/rev field size for NVMe
  (bsc#1073319)

- Update to version 0.7.3+25+suse.7c9920e2:
  * assemble_map: no newline at end of params string (bsc#1072253)

- Update to version 0.7.3+24+suse.703a61d5:
  * multipathd.service: drop Before=lvm2-lvmetad.service (bsc#1070427)
  * libmultipath: hwtable: multibus for NetApp NVMe-FC
  (bsc#1073319)
  * libmultipath/propsel: select ALUA prioritizer for RDAC arrays only
  (bsc#1075539)
  * libmultipath: get_vpd_sgio: support VPD 0xc9 (bsc#1055949)
  * libmultipath: sgio_get_vpd: add page argument (bsc#1055949)
  * libmultipath: fix return code of sgio_get_vpd() (bsc#1055949)

- Update to version 0.7.3+19+suse.0fd18bdd:
  * multipathd.socket: add WantedBy=sockets.target (bsc#1072253)

- Update to version 0.7.3+18+suse.8c97f433:
  * multipath -C: decrease log level (bsc#1072504)

OBS-URL: https://build.opensuse.org/request/show/567775
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=143
2018-01-19 18:21:03 +00:00
Martin Wilck
b3b5938ba0 Accepting request 539327 from home:mwilck:branches:Base:System
- added sample code for libmpathpersist (bsc#1066376)
  * added libmpathpersist-example.c
- multipath-tools.spec: package libmultipath.so symlink in -devel
  package (bsc#1066376). We *do not* package header files for
  libmultipath, as the APIs are not public.

OBS-URL: https://build.opensuse.org/request/show/539327
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=141
2017-11-06 15:16:39 +00:00
Martin Wilck
e5ee676d28 Accepting request 538656 from home:mwilck:branches:Base:System
- multipath-tools.spec: package *.so symlinks in -devel pkgs
  (bsc#1066376)
- multipath-tools.spec: SLE15: add RADOS support for s390x
  (bsc#1066380)
- Fix build error for targets SLE_12, SLE_12_SP1
  (bsc#1066392)

OBS-URL: https://build.opensuse.org/request/show/538656
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=139
2017-11-03 11:46:13 +00:00
Martin Wilck
2c02accbda Accepting request 536987 from home:mwilck:branches:Base:System
- Update to version 0.7.3+13+suse.db431514080f:
  * kpartx: create symlinks for dmraid devices (bsc#1064212)
  * limbultipath: prefer RDAC checker with detect_checker
  (bsc#1055949)

OBS-URL: https://build.opensuse.org/request/show/536987
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=138
2017-10-26 21:24:34 +00:00
ea7797ce06 Accepting request 534360 from home:hreinecke:branches:Base:System
- Update to version 0.7.3+11+suse.4de08d96:
  * libmultipath: condlog: log to stderr (bsc#1063059)

OBS-URL: https://build.opensuse.org/request/show/534360
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=136
2017-10-17 10:09:31 +00:00
Martin Wilck
aed2b6856f Accepting request 528058 from home:mwilck:branches:Base:System
- Update to version 0.7.3+10+suse.70ccb55b0439:
- Rebase to upstream release 0.7.3
  * libmultipath: add pthread_cleanup hook for udev monitor
  * libmultipath: pull functions into util.c
  * libmultipath: change reservation_key to a be64
  * libmpathpersist: fix update_prflag code
  * multipath: add alternate reservation_key method
  * mpathpersist: add support for prkeys file
  * multipath-tools: minor edition and corrections in multipath.conf.5
  * multipath-tools: fix incorrect length for strncmp in uevent.c
  * multipath-tools: clarify how to dump the multipathd config
  * multipath-tools: replace "setting: array" with "setting: storage device" at multipath output
  * libmultipath: sanitize fd handling
  * multipath-tools: link internal libraries before foreigns
  * multipath-tools: remove Sun StorEdge T4(6020,6120,6320) arrays from hwtable
  * multipath-tools: add support for all arrays from Sun StorEdge 3000 family
  * multipath-tools: add Xiotech iglu blaze arrays to hwtable
  * multipath-tools: add Dot Hill/Seagate arrays to hwtable
  * libmultipath: update INFINIDAT builtin config
  * multipath-tools: add info about adding new hardware
  * multipath-tools: Remove the limitation of IPC command reply length.
  * multipath-tools: libdmmp: Improve timeout mechanism
  * multipath-tools: libdmmp: New function to flush and reconfig
  * Bump version to 0.7.3
- minor fixes for upstream 0.7.3
  * libmultipath: ensure checker->fd == -1 if not set
  * libmpathpersist: add support for prkeys file v3
  * multipath: add man page info for my prkey changes
- Patch series for NVMe discovery and failover (bsc#1038865)
  * discovery: sanitize NVMe discovery

OBS-URL: https://build.opensuse.org/request/show/528058
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=134
2017-09-21 12:58:04 +00:00
Martin Wilck
481077a482 Accepting request 520380 from home:mwilck:branches:Base:System
- Update to version 0.7.2+44.3a8d750c:
  Misc bug fixes:
  * multipathd: don't flood system with sd_notify calls (bsc#1056011)
  * libmultipath: add_feature: skip pointless NULL check (bsc#1055635)
  * libmultipath: add_feature: allow only 1 feature (bsc#1055635)
  * multipath: delegate dangerous commands to multipathd (bsc#1047639)
  * libmultipath: fix partition_delimiter config option (bsc#1056526)
  * kpartx: helper functions for name and uuid generation (bsc#1056508)
  * kpartx: search partitions by UUID, and rename (bsc#1056508)
  * kpartx: fix a corner case when renaming partitions (bsc#1056508)
  * kpartx: -d must work with empty partition table (boo#1056599)
  * kpartx: only recognize dasd part table on DASD (boo#1056599) 
  Rework of the udev rules related to multipath and kpartx (bsc#1054363):
  * libmultipath: support MPATH_UDEV_NO_PATHS_FLAG on map creation
  * libmultipath: add get_udev_device
  * libmultipath: get_refwwid: use get_udev_device
  * libmultipath: use const char* in some dm helpers
  * libmultipath: add DI_NOIO flag for pathinfo
  * libmultipath: add dm_get_multipath
  * multipath: implement "check usable paths" (-C/-U)
  * 11-dm-mpath.rules: multipath -U for READY check
  * 11-dm-mpath.rules: import more ID_FS_xxx vars from db
  * 11-dm-mpath.rules: no need to test before IMPORT
  * 11-dm-mpath.rules: handle new maps with READY==0
  * 11-dm-mpath.rules: don't set READY->ACTIVATION
  * 11-dm-mpath.rules: Remember DM_ACTIVATION
  * multipath.rules: set ID_FS_TYPE to "mpath_member"
  * kpartx.rules: don't rely on DM_DEPS and DM_TABLE_STATE
  * kpartx.rules: respect DM_UDEV_LOW_PRIORITY_FLAG
  * kpartx.rules: improved logic for by-uuid and by-label links

OBS-URL: https://build.opensuse.org/request/show/520380
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=132
2017-09-02 23:30:12 +00:00
Martin Wilck
5640565378 Accepting request 516239 from home:mwilck:branches:Base:System
- Update to version 0.7.2+11+suse.448921a2:
  * multipath.conf.5: document no_partitions compat support
  * libmultipath: fixup compat support for 'features "1 no_partitions"'

- Dropped 67-kpartx-compat.rules (SUSE legacy).
  * symlinks "/dev/mapper/${UUID}_part${X}" are not created any more,
    only     "/dev/mapper/${UUID}-part${X}" (with "minus")
- Dropped automatic kpartx invocation on dmraid devices (fate#323743)  
- Rebase to upstream multipath-tools 0.7.2:
- Update to version 0.7.2+8+suse.95e8f43e:

OBS-URL: https://build.opensuse.org/request/show/516239
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=130
2017-08-11 22:22:44 +00:00
Martin Wilck
b1962adf64 Accepting request 516121 from home:mwilck:branches:Base:System
- Rebase to upstream multipath-tools 0.7.2.
- Drop 67-kpartx-compat.rules
- Update to version 0.7.2+8+suse.95e8f43e:
  * libmultipath: retain_attached_hw_handler obsolete with 4.3+
  * multipath-tools: move up TEMPLATE in hwtable
  * multipath-tools: delete libdmmp/docs/man directory in make clean
  * libmultipath: fix unit to seconds in log message for checker timeout
  * multipath-tools: add HPE StoreVirtual 3200 family to hwtable
  * multipath-tools: add HPE MSA 2050/2052 to hwtable
  * multipath-tools: add/change fujitsu arrays
  * multipath-tools: check sysfs path state for NVMe/NVMf
  * multipath-tools: sync third-party headers with 3.13 upstream
  * multipath-tools: beautify path_latency.c code
  * multipath-tools: fix format in multipath.conf.5
  * libmultipath: update 3PARdata builtin config
  * Bump version to 0.7.2
  * libmultipath: don't try to set hwhandler if it is retained
  (bsc#1037533)
  * libmultipath: don't [un]set queue_if_no_path after domap
  * kpartx/devmapper.h: remove dm_no_partitions
  * libmultipath: compat support for 'features "1 no_partitions"' 
  (fate#323406)
  * kpartx.rules: respect DM_UDEV_LOW_PRIORITY_FLAG
  (bsc#1047180)
  * kpartx.rules: Use DM_ACTIVATION as condition (fate#323406)
  * kpartx.rules: skip creating by-uuid and by-label links
  (fate#32340)

- Update to version 0.7.1+69+suse.3bfa5af1:
  * Merge branch 'sles12-sp3-fixes' into sles12-sp3

OBS-URL: https://build.opensuse.org/request/show/516121
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=129
2017-08-11 12:58:32 +00:00
Martin Wilck
d62a06d9db Accepting request 505573 from home:mwilck:branches:Base:System
- Update to version 0.7.1+62+suse.62a2c36e:
  * kpartx: only check for 'no_partitions' feature on dm devices
    (bsc#1037533)

OBS-URL: https://build.opensuse.org/request/show/505573
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=127
2017-06-21 21:02:03 +00:00
Martin Wilck
fd0358b632 Accepting request 505512 from home:mwilck:branches:Base:System
- Update to version 0.7.1+62+suse.7fd2387b:
  * Revert "kpartx: use mapname if no uuid is present"
    (bsc#1037533, bsc#1033541)
- "no_path_retry" patch series (bsc#1043027)
  * libmultipath: load_config: skip setting unnecessary defaults
  * libmultipath: add/remove_feature: use const char* for feature
  * libmultipath: clarify option conflicts for "features"
  * libmultipath: merge_hwe: fix queue_if_no_path logic
  * libmultipath: assemble_map: fix queue_if_no_path logic
  * multipath.conf.5: document no_path_retry vs. queue_if_no_path
  * multipath.conf.5: Remove ??? and other minor fixes
  * libmultipath: add deprecated warning for some features settings
- _service: Use "sles12-sp3" branch as revision, as factory
  and SLE12-SP3 submissions are in sync. Will be changed when
  factory forks off (latest at SLE12-SP3 GA).

OBS-URL: https://build.opensuse.org/request/show/505512
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=126
2017-06-21 20:18:27 +00:00
Martin Wilck
442501e252 Accepting request 504980 from home:bmwiedemann:branches:Base:System
set KBUILD_BUILD_TIMESTAMP to generate reproducible man-pages
  to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/504980
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=124
2017-06-20 09:04:28 +00:00
Martin Wilck
78aad48c12 Accepting request 503640 from home:mwilck:branches:Base:System
- Update to version 0.7.1+53+suse.07c2f6ac:
  Merged upstream fixes:
  * multipath: Merge the DELL MD3xxx device configs
  * multipath: fix up position independent code
  * libmultipath: fix partition detection
  * kpartx: default to running in sync mode
  * libmultipath: force udev reloads
  * kpartx: only check for 'no_partitions' feature on dm devices
  * kpartx: test-kpartx: new unit test program
  * kpartx: remove is_loop_device
  * kpartx: relax and improve UUID check in dm_compare_uuid
  * kpartx: dm_remove_partmaps: support non-dm devices
  * kpartx: dm_devn: return error for non-existent device
  * kpartx: don't treat multi-linear mappings as partitions
  * libmultipath: don't treat multi-linear mappings as partitions
  * kpartx: use partition UUID for non-DM devices
  * kpartx: use absolute path for regular files
  * kpartx: find_loop_by_file: use sysfs
  * kpartx: include sys/sysmacros.h
  * libmultipath: print.c: make sure lines are 0-terminated
  * multipath-tools: fix compilation with gcc < 4.9
  * libmultipath: print alias with no_path_retry message
  * multipathd: force reload device on all resizes
  * libmultipath: refactor calls to get dm device info
  * libmultipath: fix suspended devs from failed reloads
  * kpartx: fix device checks
  * mpath_persist: Don't join threads that don't exist
  * multipath-tools: document uid_attribute for NVME devices
  * Makefile: Remove assignments to unused variables

OBS-URL: https://build.opensuse.org/request/show/503640
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=122
2017-06-14 10:17:22 +00:00
Martin Wilck
7e3c142900 Accepting request 491762 from home:mwilck:branches:Base:System
---------------------------------------------------------------------
- spec file: Disable RADOS support for i586 on Leap 42.x (bsc#1036271)
- spec file: Move libdmmp to /usr/lib[64] (bsc#1036652)
- Update to version 0.7.1+7+suse.3edc5f7d:
  * kpartx: use mapname if no uuid is present (bsc#1033541)
  * kpartx: relax check when checking for a kpartx device (bsc#1033541)
  * libmpathpersist: use extern struct udev (bsc#1027188)
  * kpartx: include sys/sysmacros.h (fix compilation warning)
- Update to upstream version 0.7.1:
  * multipath-tools: improve processing efficiency for addition and deletion of multipath devices
  * uevent_can_discard: optimize devpath check
  * multipathd: fix SIGUSR2 handling
  * multipath-tools: clean up libdmmp/Makefile
  * multipath-tools: libdmmp: Fix incorrect use of __attribute__
  * multipath-tools: Remove trailing whitespaces
  * multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile
  * multipath-tools: build objects for libdmmp and libmpathpersist independently
  * libdmmp: minor Makefile cleanup
  * multipath-tools: remove incdir from Makefiles
  * libdmmp: don't disconnect from multipathd twice
  * multipathd: don't call strlen on NULL variables
  * libdmmp: move libdmmp.pc install location
  * multipathd: drop lock before calling uev_add_path
  * multipathd: allow devices to switch from RW to RO
  * libmultipath: don't set max_sectors_kb on reloads
  * Remove a trailing tab
  * multipath: fix segfault with disable_changed_wwids
  * multipath-tools: amend text from multipath/multipath.conf.5
  * Bump the version code and date
  * multipath-tools: replace multipath configuration output

OBS-URL: https://build.opensuse.org/request/show/491762
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=120
2017-04-28 09:13:05 +00:00
Martin Wilck
a1bf7de56b Accepting request 482451 from home:mwilck:branches:Base:System
Added bugzilla references to satisfy "leaper" BS review bot for SLES.

OBS-URL: https://build.opensuse.org/request/show/482451
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=118
2017-03-24 15:23:05 +00:00
Martin Wilck
9662d3520b Accepting request 482226 from home:mwilck:branches:Base:System
- Downgrade to version 0.6.4+103+suse.bcb5d0f4:
  * temporarily remove commit "multipathd: fix SIGUSR2 handling"
  until it's merged in official repo
- Enable rados for SLES only for x86_64 and aarch64 (ceph is currently
  disabled on SLES on s390x and ppc64le)

OBS-URL: https://build.opensuse.org/request/show/482226
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=116
2017-03-23 13:37:08 +00:00
Martin Wilck
37931ba301 Accepting request 481759 from home:mwilck:branches:Base:System
- Spec file: disable librados for architectures for which ceph
  is not built
- Spec file: enable librados by default for SLES12 SP3, disable
  it on Leap <= 42.1
- Update to version 0.6.4+104+suse.ac0df678:
  * multipathd: fix SIGUSR2 handling

OBS-URL: https://build.opensuse.org/request/show/481759
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=115
2017-03-21 12:21:19 +00:00