1
0

71 Commits

Author SHA256 Message Date
Martin Wilck
b7bff3d056 Accepting request 950712 from home:mwilck:multipath
- Version 0.8.8+45+suse.628d603e
  * fix handling of historical-service-time path selector (bsc#1195425)
  * fix marking multipath devices as failed prematurely on startup
    (bsc#1195426)
  * multipathd.service: remove LimitCORE=infinity directive
    This should only be enabled for debugging.
  * multipathd.service: don't load scsi_dh modules (bsc#1195397)
    This is done via modules-load.d functionality on (open)SUSE
- Upstream fixes:
  * Fix claiming of paths with "find_multipaths strict"
  * Avoid unnecessary read-only reloads

OBS-URL: https://build.opensuse.org/request/show/950712
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=270
2022-02-02 11:46:56 +00:00
Martin Wilck
1bf74aad1a - Update to 0.8.8+38+suse.2bdd3a14.obscpio
* upstream version bump. Code-wise identical to 0.8.7+138+suse.7c9afe31
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=267
2021-12-06 15:57:15 +00:00
Martin Wilck
b1f9984aff Accepting request 935253 from home:mwilck:multipath
- Update to version 0.8.7+138+suse.7c9afe31:
  New upstream version (pre-0.8.8)
  
  * deprecate "config_dir" and "multipath_dir" config options
    (will be removed in future version)
  * remove dependency on systemd-udevd-settle.service (boo#1193336)
  * fix crash in remove_map (boo#1193334)
  * CLI: add path wildcard "%I" for init state
  * CLI: add "reconfigure all" command
  * allow multiple pending "reconfigure" commands (bsc#1189551)
  * speed up "reconfigure" by avoiding unnecessary map reloads
    (bsc#1189551)
  * rework of CLI command handler (unix socket handler) to avoid
    hanging CLI commands (bsc#1189551)
  * fix multipathd startup after stop during reconfigure (boo#1193338)
  * improve error detection and warning messages in config file parser
  * fix exit status of multipath -T (bsc#1191900)
  * fix defects reported by coverity (boo#1193342)
    - avoid sleeping with locks held
    - exit if bindings file is broken
    - set umask before mkstemp
    - add bounds and consistency checks in SCSI VPD parsing code
  * add hardware table entry for DellEMC/ME4 (PowerVault ME4)

OBS-URL: https://build.opensuse.org/request/show/935253
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=262
2021-12-02 17:36:36 +00:00
Martin Wilck
c46964e950 Accepting request 918046 from home:mwilck:multipath
- Update to version  0.8.7+14+suse.5a09bfa1:
  * Fix possible string overflows (bsc#1188148)
- Upstream fixes / changes
  * better string handling
  * multipath: print warning if multipathd isn't running
  * mpathpersist: better error msg when no usable paths exist
  * fixes from 0.8.6+32+suse.f11c192 merged upstream

OBS-URL: https://build.opensuse.org/request/show/918046
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=260
2021-09-10 21:10:18 +00:00
Martin Wilck
8896e977e0 - Update to version 0.8.6+32+suse.f11c192:
* libmultipath:fix compilation with glibc 2.34 (bsc#1189099)
  * libmultipath: avoid buffer size warning with systemd 240+ 
    (bsc#1189176)
  * libmultipath: use uint64_t for sg_id.lun (bsc#1187534)
- Upstream bug fixes:
  * multipath-tools: make HUAWEI/XSG1 config work with alua and multibus
  * multipath-tools: add info about HPE Alletra 6000 and 9000
  * multipathd: cli_getprkey(): fix return value and "aptpl" support
  * multipathd: don't rescan_path on wwid change in uev_update_path
  * kpartx: Don't leak memory when getblock returns NULL
  * multipath: free vectors in configure
  * multipathd: fix ev_remove_path return code handling
  * multipathd: remove duplicate orphan_paths in flush_map
  * multipathd: don't fail to remove path once the map is removed
  * multipathd: fix compilation issue with liburcu < 0.8

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=258
2021-08-12 20:19:57 +00:00
Martin Wilck
a8a3fc0b93 Accepting request 894131 from home:mwilck:branches:Base:System
- Update to version 0.8.6+10+suse.47711374:
  * Github workflows: add CI for SUSE-specific branches

- Disabled LTO for multipath-tools
  * The test for is_valid_path fails if LTO is enabled, just
    disabling it for %check is insufficient.

- 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.

  (bsc#1182072, bsc#1177371)
   (bsc#1181435, bsc#1183666)

OBS-URL: https://build.opensuse.org/request/show/894131
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=253
2021-05-18 19:47:44 +00:00
Martin Wilck
2f6438df20 - Update to version 0.8.5+30+suse.633836e:
* multipathd: give up "add missing path" after multiple failures
  (bsc#1183963)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=251
2021-04-01 11:04:03 +00:00
Martin Wilck
c83eaf7954 - Update to version 0.8.5+29+suse.5dabcd2:
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=249
2021-03-18 09:49:23 +00:00
Martin Wilck
8418073bed - Update to version 0.8.5+28+suse.d4205ea:
* 11-dm-mpath.rules: run "multipath -U" with -v1 (bsc#1182871)
  * libmultipath: merge update_multipath_table() and update_multipath_status()
  (bsc#1183666)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=248
2021-03-17 17:31:34 +00:00
Martin Wilck
ff8b150e41 - Update to version 0.8.5+26+suse.2cbedfd:
Avoid "illegal request" errors on non-RDAC storage
  (bsc#bsc#1182072, bsc#1177371)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=245
2021-03-12 15:13:29 +00:00
Martin Wilck
118709e8f6 - Update to version 0.8.5+23+suse.c11b054:
* multipath -U: reduce log level of "adding new path" message 
   (bsc#1181435)

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=242
2021-03-10 10:17:22 +00:00
Martin Wilck
b18657a7ad - Update to version 0.8.5+22+suse.e1e3c48:
* multipath-tools tests: fix stringop-overflow build errors with gcc 11
  * README moved to README.md (has been converted to markdown upstream)
- Update to version 0.8.5+12+suse.3b0e9ca

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=240
2021-02-10 14:36:44 +00:00
Martin Wilck
f8e239dda1 Accepting request 856456 from home:mwilck:branches:Base:System
- Update to versioni 0.8.5+12+suse.3b0e9ca
  * libmultipath: force map reload if udev incomplete 
  (bsc#1178662, bsc#1172157, bsc#1175454, bsc#1176406)
- Fixes from upstream 0.8.5
  * multipath-tools: add MacroSAN arrays to hwtable
  * libmultipath: Allow discovery of USB devices
  (add configuration option "allow_usb_devices")

OBS-URL: https://build.opensuse.org/request/show/856456
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=238
2020-12-16 12:56:57 +00:00
Martin Wilck
f65cd79fe8 Accepting request 835004 from home:mwilck:branches:Base:System
- Update to version 0.8.4+192+suse.1bc10ad:
  * Fix handling of hardware properties for maps without paths
  (bsc#1176644)

- Update to version 0.8.4+190+suse.fe234ea:
  * Fixes for daemon shutdown issues from  SLE(bsc#1110060, bsc#1110439)
    - multipathd: allow shutdown during configure()
  * fix compilation of external programs with -lmultipath
  (bsc#1133957, necessary after the above fix)
  * Minor upstream fixes

OBS-URL: https://build.opensuse.org/request/show/835004
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=230
2020-09-16 20:43:24 +00:00
Martin Wilck
e002542626 - Update to version 0.8.4+183+suse.1817ce2:
Added reviewed upstream fix for multipath crash
  * multipath: get_dm_mpvec: discard broken maps

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=226
2020-08-27 09:37:27 +00:00
Martin Wilck
2832ce0945 - Update to version 0.8.4+180+suse.50a2698:
* Fix memory access / leak issues found with valgrind

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=225
2020-08-26 10:06:56 +00:00
Martin Wilck
cb955ad2ac - Update to version 0.8.4+170+suse.801341f:
Fix tests on ppc

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=222
2020-08-21 22:29:10 +00:00
Martin Wilck
a01cf47a39 - Update to version 0.8.4+169+suse.567279c:
* libmultipath: tests: fix bitfield tests

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=221
2020-08-21 21:44:39 +00:00
Martin Wilck
43659b9edf - Update to version 0.8.4+168+suse.f9fa8d9:
* libmultipath: tests: fix bitmasks tests

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=218
2020-08-21 16:01:08 +00:00
Martin Wilck
21e4413b39 Accepting request 828297 from home:mwilck:branches:Base:System
- Update to version 0.8.4+167+suse.70bef90: 
  Pull in reviewed upstream changes
- Bug fixes
  * libmultipath: add consistency check for alias settings (bsc#1172429)
  * libmultipath: select_action(): don't drop map if alias clashes (bsc#1172429)
  * libmultipath: refuse reloading an existing map with different WWID
    (bsc#1172429)
  * libmultipath: select_action(): force udev reload for uninitialized maps
    (bsc#1172157)
  * multipathd: uev_trigger(): handle incomplete ADD events (bsc#1172157)
  * improve logging for failure to set dev_loss_tmo (bsc#1173060, bsc#1173064)
  * libmultipath: add device to hwtable.c (bsc#1174026)
- New features
  * multipath: add -D option to skip multipathd delegation
  * multipath: delegate flushing maps to multipathd
  * multipathd: add "del maps" multipathd command
- Other changes
  * cleanup disassemble_map() code path
  * multipath-tools: introduce INIT_REMOVED state
  * logging improvements
  * fix "multipathd show devices"
  * libmultipath: remove uevent listener failback
  * libmultipath: create bitfield abstraction
  * libmultipath: count pending paths as active on loads
  * kpartx: handle alternate bsd disklabel location
- Lots of minor fixes and cleanups
- Spec file: use %service_del_postun_without_restart macro

OBS-URL: https://build.opensuse.org/request/show/828297
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=217
2020-08-20 19:56:02 +00:00
Martin Wilck
76092b1685 Accepting request 813227 from home:mwilck:branches:Base:System
- Update to version 0.8.4+43+suse.908383f:
  * enable negated regular expression syntax in conf file
  * change default devnode blacklist to 
    '!^(sd[a-z]|dasd[a-z]|nvme[0-9])'

OBS-URL: https://build.opensuse.org/request/show/813227
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=215
2020-06-10 12:54:24 +00:00
Martin Wilck
b2d2f151d3 Accepting request 812729 from home:mwilck:branches:Base:System
- Update to version 0.8.4+40+suse.b06c2e5a:
- Fix udev rule processing during coldplug (bsc#1172157)
  * 11-dm-mpath.rules: Fix udev rule processing during coldplug
- Fix compilation with gcc-10
  * fix boolean value with json-c 0.14
  * libmultipath: fix condlog NULL argument in uevent_get_env_var
- Reviewed upstream changes:
  * simplify failed_wwid code
  * centralize path validation code
- Use pkgconfig for BuildRequires

OBS-URL: https://build.opensuse.org/request/show/812729
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=214
2020-06-08 19:51:40 +00:00
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
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
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
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
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
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