Commit Graph

111 Commits

Author SHA256 Message Date
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
31f29213bb Accepting request 505021 from home:mwilck:branches:Base:System
Added bsc references to .changes file

OBS-URL: https://build.opensuse.org/request/show/505021
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=125
2017-06-20 10:20:58 +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
a3fafa8212 Accepting request 482261 from home:mwilck:branches:Base:System
Previous tarball was unclean causing build failures on non-x86_64. resending it

OBS-URL: https://build.opensuse.org/request/show/482261
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=117
2017-03-23 14:02:10 +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
Martin Wilck
0007d3fe8a Accepting request 478509 from home:mwilck:branches:Base:System
- Update to version 0.6.4+103+suse.bcb5d0f4:
  * changed to official github repo openSUSE/multipath-tools
    (no changes code-wise)

- Spec file: Added dependency on sg3_utils (#boo1028857)

- spec file changes: optional librados and libdmmp support
  * enabled by default on Factory and Leap
    (disable with --without-rados, --without-libdmmp)
  * disabled by default on SLES12
    (enable with --with-rados, --with-libdmmp)
  * libdmmp0_1_0 and libdmmp-devel as separate packages
  * minor fixes for RPMLINT warnings
- Update to version 0.6.4+102.0119472d:
  * rebased, code-wise identical to previous checkout

- Update to version 0.6.4+102.df7d367e:
  * libmultipath/propsel: Do not select sysfs prioritizer for RDAC arrays
    (bsc#1004858)

- Update to version 0.6.4+101.f01ef4da (SLES12 SP2 changes wrt upstream):
  * Make libdmmp build optional
  * multipath.rules: use -i flag to multipath
  * kpartx: create symlinks for dmraid devices
  * kpartx: Add udev compability rules for SUSE
  * libmultipath/checkers: make RADOS checker optional
  * multipathd: fixup check for new path states (bsc#1019798)
  * tur: Add pthread_testcancel() (bsc#101979)
  * kpartx: sanitize delete partitions (bsc#100869)
  * libmultipath: coalesce_paths: trigger uevent if nothing done

OBS-URL: https://build.opensuse.org/request/show/478509
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=114
2017-03-20 12:52:30 +00:00
8c6a8ba571 Accepting request 458961 from home:kukuk:branches:Base:System
- Remove superfluous PreReq for insserv and fillup

OBS-URL: https://build.opensuse.org/request/show/458961
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=112
2017-02-21 10:40:05 +00:00
9a68597439 Accepting request 431188 from home:hreinecke:branches:Base:System
- Update to version 0.6.2+suse20160928.8939fb6

- Implement support for 'multipath=off' and 'nompath'
  kernel commandline options (bsc#1001691)

- multipath: avoid crash when using modified configuration
  (bsc#1000914)

OBS-URL: https://build.opensuse.org/request/show/431188
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=110
2016-09-30 12:07:49 +00:00
Robert Milasan
dfc9ea35e8 Accepting request 428706 from home:hreinecke:branches:Base:System
- libmultipath: Do not crash on empty features (bsc#994812)
- multipathd: Set CLI timeout correctly (bsc#999061)
- Moved multipath-tools repository to
  github.com:/openSUSE/multipath-tools.git

OBS-URL: https://build.opensuse.org/request/show/428706
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=108
2016-09-19 17:34:35 +00:00
ac8fd6ab57 Accepting request 426921 from home:hreinecke:branches:Base:System
- Fixup glitch from patch 'fixup check from udev rules' (bsc#986734)
- Remove 0001-libmultipath-fall-back-to-search-paths-by-devt.patch;
  integrated into git repository

- libmultipath: fall back to search paths by devt (bsc#995645)

OBS-URL: https://build.opensuse.org/request/show/426921
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=106
2016-09-12 08:12:23 +00:00
b9d4a5cd1c Accepting request 423235 from home:hreinecke:branches:Base:System
- Fixup module name in /usr/lib/modules-load.d (bsc#986734)

- multipath: fixup check from udev rules (bsc#986734)

- multipathd: start daemon after udev trigger (bsc#986734)
- Load device handler and multipath module at boot (bsc#991634)

- Do not check daemon from udev rules (bsc#986734,bsc#990538)

OBS-URL: https://build.opensuse.org/request/show/423235
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=104
2016-09-01 11:57:30 +00:00
0e05827275 Accepting request 417043 from home:hreinecke:branches:Base:System
- Include fixes from upstream:
  * memory leak in orphan_paths
  * More hardware table cleanups
  * Add 'serial' keyword to weightedpath prioritizer
- Set timeout for CLI commands correctly (bsc#990265)
- Start daemon after udev trigger (bsc#991742,bsc#986734,bsc#990538)
- multipathd.service: Fixup Wants= and Before= statements
  (bsc#991742, bsc#986734)

- Include patches from upstream:
  * Cleanup hardware tables by removing default entries
  * More formatting fixes
  * Order keywords in multipath.conf.5
  * Change default pgpolicy from 'failover' to 'group_by_prio'
  * kpartx: Fix check whether to detach a loop device
  * Fix partly traversed loop in coalesce_paths()
  * Fix memory leak in reconfigure()
  * Cleanup include header files
  * Bump version code to 0.6.2
- Fix multipath -l <devmap> without output (bsc#990480)
- Fix spelling in a log message
- Fix type of rcu_unregister()
- Do not perform POSIX mutex operations inside a signal handler
- Ensure that signals are delivered to the uxsock thread
- Fix memory leak in path group policies
- Update tarball to 0.6.2+suse20160728.d96f423

OBS-URL: https://build.opensuse.org/request/show/417043
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=102
2016-08-07 12:13:17 +00:00
bab7a36126 Accepting request 408703 from home:hreinecke:branches:Base:System
- Include patches from upstream:
  * Makefile cleanup
  * Update multipath.conf.5
  * Update hardware tables
  * Whitespace cleanup
- Fixup crash during shutdown (bsc#988539)
- Update tarball to 0.6.1+suse20160715.3d44636

OBS-URL: https://build.opensuse.org/request/show/408703
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=100
2016-07-18 08:20:25 +00:00
3dd54be22f Accepting request 406622 from home:jengelh:branches:Base:System
- Remove obsoletes spec sections

OBS-URL: https://build.opensuse.org/request/show/406622
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=98
2016-07-06 16:38:01 +00:00
033744e963 Accepting request 406324 from home:hreinecke:branches:Base:System
- Move config accesses to use user-space RCU (bsc#987526)
  * Revert 'move filter_devnode under vector lock'
  * Revert the rework patch
- Include patches from upstream:
  * Update hardware tables
  * Update kpartx manpage
  * Whitespace fixes
  * Include coverity fixes
  * Drop AUTHOR file

OBS-URL: https://build.opensuse.org/request/show/406324
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=97
2016-07-05 08:48:57 +00:00
c95b3d38fc Accepting request 406265 from home:hreinecke:branches:Base:System
- Revert 'move filter_devnode under vector lock'
- Revert the rework patch
- Move config accesses to use user-space RCU
- Update tarball to 0.6.1+suse20160704.6e52398
- Drop AUTHOR file

OBS-URL: https://build.opensuse.org/request/show/406265
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=96
2016-07-04 08:20:41 +00:00
45fbf43802 Accepting request 400641 from openSUSE:Leap:42.2:SLE-workarounds
- fix service file to not pretend that this is the upstream version.
  Now labeled 0.6.1+suse20160603.9b920e3
- Fix BuildRequire to get systemd.pc from correct package (bsc#983167)
- point rcmultipathd to /usr/sbin/service to avoid dangling symlink warning

OBS-URL: https://build.opensuse.org/request/show/400641
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=95
2016-06-14 12:45:24 +00:00
8538b4dfd0 Accepting request 399973 from home:hreinecke:branches:Base:System
- Rework patch 'move filter_devnode under vector lock'
  (bsc#982348)

- multipathd: Fixup definition of set_unlocked_handler_callback()
- mpathcmd.h: Update Free Software Foundation address

- Do not install header file with mode 755

- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/399973
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=93
2016-06-07 08:03:45 +00:00
Dr. Werner Fink
4bf0e13640 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=91
2015-07-13 10:55:17 +00:00
Hannes Reinecke
86ae233ae9 Accepting request 298597 from home:hreinecke:branches:Base:System
- Remove 'udev_sync' argument from dm_simplecmd (bsc#903001)
- Ensure multipathd is started before systemd-udev-trigger

- Only import ID_FS_XXX variables if not set (bsc#909358)
- Fixup regular expression for HP MSA 2040 (bsc#920189)

- Add dependency on systemd-udevd.service (bsc#903001)
- Use ALUA for HP 3PAR (bsc#922105)
- Add DX8700 S3 and DX8900 S3 defaults (bsc#921703)
- Load all device handler modules on startup (bsc#908529)

- libmultipath: make vpd page 0x80 optional (bsc#917963)
- Add HP MSA 2040 to the hardware table (bsc#920189)
- Revert 'Skip unhandled device types' (bsc#917701)

- skip uninitialized devices during reconfiguration (bnc#908915)
- memory overflow when printing help text (bnc#909742)

- Do not automatically fall back to vpd uid generation
- Improve vpd parsing
- multipathd: trigger all devices on startup (bnc#901465)
- Unset 'uid_attribute' on failure

- libmultipath: Fall back to SG_IO if no UID could be assigned
  (bnc#908915)
- Assign local priority for NAA VPD descriptor (bnc#907483)
- libmultipath: finally fix dev_loss_tmo setting (bnc#889927)
- libmultipath: Do not use 'sscanf' for parsing integers (bnc#889927)
- devmapper: do not flush I/O for DM_DEVICE_CREATE (bnc#901809)
- kpartx: handle more than 256 loop devices (bnc#898427)

OBS-URL: https://build.opensuse.org/request/show/298597
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=89
2015-04-22 13:52:56 +00:00
Robert Milasan
9297d4adb2 Accepting request 252448 from home:hreinecke:branches:Base:System
- Allow empty revision during discovery (bnc#896864)

OBS-URL: https://build.opensuse.org/request/show/252448
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=87
2014-09-29 09:10:09 +00:00
Stephan Kulow
d5ecaa13ed Accepting request 250597 from home:hreinecke:branches:Base:System
- Really fix segfault in recv_packet (bnc#896678)

OBS-URL: https://build.opensuse.org/request/show/250597
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=86
2014-09-25 05:50:30 +00:00
2cb5534541 Accepting request 249941 from home:hreinecke:branches:Base:System
- Fix segfault in recv_packet (bnc#896678)

- Fixup segfault due to double unlock
- Skip USB devices during discovery (bnc#865577)
- Ignore devices when sysfs_get_tgt_nodename fails (bnc#865577)
- Use sysfs attribute vpd_pg80 to read serial number

- Create rcmultipathd links (bnc#894513)
- multipathd: fix segfault in checkerloop() (bnc#894513)
- Use regenerate_posttrans rpm macros (bnc#892181)

OBS-URL: https://build.opensuse.org/request/show/249941
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=84
2014-09-18 09:03:03 +00:00
7cfa3164cd Accepting request 247261 from home:trenn:branches:Base:System
- Do not call mkinitrd in rpm macros directly, make use of
  %{?regenerate_initrd_posttrans} and %{?regenerate_initrd_post}
  instead to avoid rebuilding of initrd for each package that
  needs initrd recreation. Only update initrd once per install/update
  if needed

OBS-URL: https://build.opensuse.org/request/show/247261
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=82
2014-09-04 08:41:18 +00:00
c642c8afe9 Accepting request 246803 from home:hreinecke:branches:Base:System
- Fixup segfault during uev_path_add() (bnc#892214)

OBS-URL: https://build.opensuse.org/request/show/246803
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=80
2014-09-01 15:39:25 +00:00
feed7c395c Accepting request 245558 from home:hreinecke:branches:Base:System
- Revert to ACT_RELOAD in domap() if the map exists
- multipathd: asynchronous configuration (bnc#891189)
- multipathd: timeout CLI commands when waiting for lock
  (bnc#891189)
- Remove dm_udev_XXX wrapper functions
- uxlsnr: use typedef for trigger function
- multipathd: lock cli client list
- multipathd: Use standard lists for CLI handling

- Use strlen() when checking for valid wwid
- kpartx: zero out cookie (bnc#890902)
- multipathd: Check for empty wwid when processing events
  (bnc#892214)

- Fixup device-mapper cookie handling yet again (bnc#890902)
- Allow zero-sized devices during configuration
- multipathd: issue warning on CLI command timeout (bnc#891189)

- Do not remove paths without uevent (bnc#890998)

- Fixup structure misalignment in config.h (bnc#890747)
- Do not print empty multipaths section
- Fixup 'uxsock_timeout' handling
- Reload map if reinstate failed (bnc#890854)

- Close memory leak in print_multipath_topology
- Implement 'uxsock_timeout' keyword (bnc#890551)
- Return error when receiving CLI packet (bnc#890551)
- multipath: do not print state 'orphan' for option '-l' (bnc#890551)
- Fix race conditions during uevent processing (bnc#890994)

OBS-URL: https://build.opensuse.org/request/show/245558
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=78
2014-08-21 13:30:30 +00:00
Robert Milasan
60419b1fc6 Accepting request 243670 from home:hreinecke:branches:Base:System
- Skip unhandled device types (bnc#881125)
- use 'uid_attribute' per default when generating WWID (bnc#881125)
- Use a default dev_loss_tmo of 600 (bnc#889927)
- Fixup device-mapper 'cookie' handling (bnc#886743)
- Remove last argument from verify_paths()
- Add paths with a size of '0' as 'ghost' paths
- Remove sysfs_get_dev()
- Use glibc 'major' and 'minor' macros
- Whitespace cleanup in mpath_persist

OBS-URL: https://build.opensuse.org/request/show/243670
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=76
2014-08-08 12:56:52 +00:00
Stephan Kulow
c0444dd550 Accepting request 242738 from home:hreinecke:branches:Base:System
- Fixup wrong check for errno in uevent_listen()
  (bnc#889165)
- Terminate uevent listener on ppoll() error (bnc#889165)

OBS-URL: https://build.opensuse.org/request/show/242738
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=74
2014-07-28 14:25:01 +00:00
64cb7e0332 Accepting request 242290 from home:hreinecke:branches:Base:System
- Patches from upstream:
  * enable gcc format-security check
  * Accept "*" as a valid regular expression
  * check info.exists to get valid value
  * Don't forget to reload table when both reload and rename
    is required
  * libmultipath: Simplify read_line()
  * libmultipath: Zero-terminate sysfs_attr_get_value() result
  * libmultipath: Print line number for which parsing failed
  * libmultipath: Accept "*" as a valid regular expression
  * multipath: Wrong sysfs attribute used for iSCSI settings
    (bnc#883808)
- Check for valid DM_DEVICE_INFO before proceeding
  (bnc#888453)
- Scalability fixes (bnc#880356):
  * Separate out uevent parsing functions
  * Use poll() when receiving uevents
  * multipathd: push down lock in checkerloop()
  * Allow specific CLI commands to run unlocked
  * Push down vector lock during uevent processing

OBS-URL: https://build.opensuse.org/request/show/242290
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=72
2014-07-26 10:06:45 +00:00
Robert Milasan
efa388870e Accepting request 241989 from home:hreinecke:branches:Base:System
- recovery_tmo for iSCSI sessions not updated (bnc#883808)
- Only filter for udev property if uid_attribute is present
- Read wwid from sysfs vpg_pg83 attribute
- Update multipath.conf.5 to clarify wwid generation
- kpartx: Fixup persistent name generation (bnc#887582)
- Revert 'return PATH_DOWN for quiesced paths'
- Do not treat 'transport-offline' paths as 'offline' (bnc#888378)

- multipath: Check for running daemon when called with '-u'
  (bnc#886154)

OBS-URL: https://build.opensuse.org/request/show/241989
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=71
2014-07-24 08:17:16 +00:00
Robert Milasan
0360af2879 Accepting request 239529 from home:hreinecke:branches:Base:System
- multipath: use option '-i' when called from udev (bnc#885628)
- multipath: add option '-i' to ignore wwids file (bnc#885628)
- Update hwtable for EMC XtremIO (bnc#880510)
- Remove unused variable 'aas' from alua prioritzer
- Patches from upstream:
  * Add multipath.conf force_sync option
  * make prioritizers use checker_timeout, if set
  * Improve multipath.conf syntax checking
  * orphan paths on failed add
  * Add missing interactive commands to multipathd man page
  * Make multipathd orphan paths that were removed externally
  * allow users to add wwids to /etc/multipath/wwids with -a
  * change conf->dry_run to conf->cmd
  * Return the correct size buffer in set_value()
  * Fix memory issues in path reordering failure code paths

OBS-URL: https://build.opensuse.org/request/show/239529
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=69
2014-07-05 21:13:13 +00:00
Robert Milasan
c059c44410 Accepting request 238460 from home:hreinecke:branches:Base:System
- Fixup race condition with udev (bnc#883878)
- Cleanup foreground operation handling in multipathd
- Fix some minor issues in path reordering code (bnc#870465)
- Patches from upstream:
  * Use existing user friendly names if possible
  * kpartx: fix extended partition size for >512b sectors
  * Mismatch between allocation length and transfer length in
    rdac prio
  * Mismatch between allocation length and transfer length in
    emc_clariion prio.

OBS-URL: https://build.opensuse.org/request/show/238460
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=67
2014-06-26 06:52:27 +00:00
Cristian Rodríguez
392b40e760 Accepting request 237209 from home:hreinecke:branches:Base:System
- 11-dm-mpath.rules: Import blkid values if all paths are down
  (bnc#875233)
- kpartx.rules: Skip kpartx for multipath events (bnc#875233)

OBS-URL: https://build.opensuse.org/request/show/237209
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=65
2014-06-13 18:45:00 +00:00
Robert Milasan
02cd93cb5e Accepting request 234822 from home:hreinecke:branches:Base:System
- Fix race condition with systemd (bnc#878809)

OBS-URL: https://build.opensuse.org/request/show/234822
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=63
2014-05-21 09:21:37 +00:00
Tomáš Chvátal
7cf3cfdf7d Accepting request 234329 from home:hreinecke:branches:Base:System
- Fix segfault when fast_io_fail_tmo is empty in config file
- Crafted ordering of child paths for round robin path selector
  (bnc#870465)
- multipath: enable sync support (bnc#872297)
- Whitelist devices in multipath.rules (bnc#877281)

OBS-URL: https://build.opensuse.org/request/show/234329
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=62
2014-05-19 21:42:34 +00:00
Stefan Seyfried
97af7c8922 Accepting request 229720 from home:hreinecke:branches:Base:System
- Install multipath rule under 56-multipath.rules (bnc#873151)
- Implement option '-u' for uevents (bnc#873151)
- Remove trailing linefeed from sysfs attributes
- Make checker_put() and prio_put() idempotent
- Implement 'list path' CLI command
- Disable reassign maps per default
- Allow for NULL path when printing information
- Fixup wwid blacklist printing
- Use SCSI_IDENT_.* as the default property whitelist (bnc#872929)
- Do not call 'blkid' in kpartx.rules
- Allow empty wwids during discovery (bnc#872712)
- Always set verbosity to '0' when checking devices (bnc#867840)
- Fixup multipath rules for booting (bnc#870764)
- Fixup dependencies in multipathd.service (bnc#872712)
- Do not print empty device strings during discovery (bnc#872712)
- Use multipath wwid if path wwid is empty (bnc#872712)
- Set the correct PID when running in debug mode

- Fixup ordering cycle with systemd (bnc#863218)

OBS-URL: https://build.opensuse.org/request/show/229720
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=60
2014-04-12 21:32:45 +00:00
9f0bb81bc3 Accepting request 226973 from home:hreinecke:branches:Base:System
- Fixup ordering cycle with systemd (bnc#862773)
- Rebase git repository to match with upstream
- Revert 'display uevent sequence number'; not required anymore

- downgrade device-mapper requirement to 1.2.78 until 1.2.82
  is available anywhere

OBS-URL: https://build.opensuse.org/request/show/226973
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=58
2014-03-27 14:52:32 +00:00
f6ea488666 Accepting request 225720 from home:hreinecke:branches:Base:System
- Update FSF address
- Add 11-dm-mpath.rules (bnc#867968)
- Link against libsystemd instead of libsystemd-daemon

OBS-URL: https://build.opensuse.org/request/show/225720
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=57
2014-03-17 13:42:12 +00:00
b6748818da Accepting request 224248 from home:hreinecke:branches:Base:System
- Fixup spec file to correct rules permissions

- Fixup 40-multipath.rules installation

- Add 40-multipath.rules for dracut support

OBS-URL: https://build.opensuse.org/request/show/224248
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=55
2014-03-03 09:00:19 +00:00
73e4cfd9ae Accepting request 222359 from home:hreinecke:branches:Base:System
- Install kpartx rules with correct prefix for dracut
- filter for missing property in get_refwwid() (bnc#862250)
- Double uevent stacksize yet again (bnc#855379)
- do not fail discovery on individual devices (bnc#860850)
- Prefer deprecated 'getuid' callout (bnc#861534)
- Skip paths with empty wwid (bnc#861534)
- correctly terminate string in strlcpy() (bnc#861534)
- Don't chop const strings
- Fixup typo in Makefile
- display uevent sequence number on 'show daemon'

OBS-URL: https://build.opensuse.org/request/show/222359
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=53
2014-02-15 10:14:00 +00:00
4263a6e996 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=51 2014-01-29 13:19:21 +00:00
43243a3a4e Accepting request 215029 from home:hreinecke:branches:Base:System
- Fixup build issues

- Update to official version 0.5.0
  - remove: multipath-tools-0.4.9.tar.bz2
  - remove: multipath-tools-0.4.9-opensuse-12.3.diff.bz2
  - add: multipath-tools-0.5.0.tar.bz2
  - add: multipath-tools-0.5.0-sles12.diff.bz2
- Merge:
  - multipath-tools-make-flexible-install-of-systemd-and-udev-files.patch

- Add Source URL, see https://en.opensuse.org/SourceUrls
  add: multipath-tools-make-flexible-install-of-systemd-and-udev-files.patch
- Systemd: fix spec pre/post scripts.
- Fix the installation of multipath.rules file.
  We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/request/show/215029
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=50
2014-01-29 10:09:28 +00:00