1
0

358 Commits

Author SHA256 Message Date
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
Stephan Kulow
8ea2721da0 Accepting request 242171 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/242171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=65
2014-07-26 10:19:39 +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
Stephan Kulow
566ac585ec Accepting request 239713 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/239713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=64
2014-07-10 12:54:55 +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
Stephan Kulow
6b94134fb2 Accepting request 238732 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/238732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=63
2014-06-30 19:43:16 +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
Stephan Kulow
b436d84190 Accepting request 237264 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/237264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=62
2014-06-19 11:19:52 +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
Stephan Kulow
9acec25ab9 Accepting request 234939 from Base:System
- Fix race condition with systemd (bnc#878809) (forwarded request 234822 from hreinecke)

OBS-URL: https://build.opensuse.org/request/show/234939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=61
2014-05-23 06:05:20 +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
Stephan Kulow
e20e66dee5 Accepting request 229874 from 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) (forwarded request 229720 from hreinecke)

OBS-URL: https://build.opensuse.org/request/show/229874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=60
2014-04-14 04:42:19 +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
Stephan Kulow
7f215b1e3d Accepting request 228046 from 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 (forwarded request 226973 from hreinecke)

I am resubmitting this one as that by accident I rejected the previous submit from dirk

OBS-URL: https://build.opensuse.org/request/show/228046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=59
2014-03-31 18:43:11 +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
Stephan Kulow
513fa1f4fe Accepting request 224387 from Base:System
- Fixup spec file to correct rules permissions

- Fixup 40-multipath.rules installation

- Add 40-multipath.rules for dracut support (forwarded request 224248 from hreinecke)

OBS-URL: https://build.opensuse.org/request/show/224387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=58
2014-03-04 12:14:08 +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
Stephan Kulow
193b8d921e Accepting request 222431 from 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' (forwarded request 222359 from hreinecke)

OBS-URL: https://build.opensuse.org/request/show/222431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=57
2014-02-17 06:18:29 +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
Stephan Kulow
2870d52fd0 Accepting request 215516 from 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/215516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=56
2014-01-30 05:55:41 +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
Stephan Kulow
525f6e3820 Accepting request 173811 from Base:System
- Add Source URL, see https://en.opensuse.org/SourceUrls 
  - use %setup -c to support the tarball

OBS-URL: https://build.opensuse.org/request/show/173811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=54
2013-05-02 09:24:28 +00:00
2ffe66a911 - use %setup -c to support the tarball
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=48
2013-04-29 14:08:35 +00:00
1a08f20e04 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=47 2013-04-29 13:52:17 +00:00
121e2d63e3 Accepting request 171059 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/171059
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=46
2013-04-17 08:05:51 +00:00
Stephan Kulow
250d6ecff9 Accepting request 155540 from Base:System
license update: GPL-2.0
Substantial number of GPL-2.0 files in the package (forwarded request 155532 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/155540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=53
2013-02-17 16:07:10 +00:00
Robert Milasan
c8e183830c Accepting request 155532 from home:babelworx:ldig:branches:Base:System
license update: GPL-2.0
Substantial number of GPL-2.0 files in the package

OBS-URL: https://build.opensuse.org/request/show/155532
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=44
2013-02-15 14:25:42 +00:00
Robert Milasan
d42cda7529 Accepting request 155509 from home:rmilasan:branches:Base:System
- Make installation of systemd unit and udev files more flexible.
  add: multipath-tools-make-flexible-install-of-systemd-and-udev-files.patch

OBS-URL: https://build.opensuse.org/request/show/155509
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=43
2013-02-15 12:31:32 +00:00
Robert Milasan
242e73895f Accepting request 150669 from home:hreinecke:branches:Base:System
- Update to latest mainline git version
- Merge systemd fixes
- Generate persistent device names for kpartx (bnc#799274)

OBS-URL: https://build.opensuse.org/request/show/150669
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=42
2013-02-01 10:10:56 +00:00
Stephan Kulow
dc0b224e8e Accepting request 140069 from Base:System
- Systemd: use default service type instead of forking
- Systemd: fix spec pre/post scripts. (forwarded request 139959 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/140069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=51
2012-11-06 15:14:00 +00:00
Cristian Rodríguez
7b67733512 Accepting request 139959 from home:elvigia:branches:Base:System
- Systemd: use default service type instead of forking
- Systemd: fix spec pre/post scripts.

OBS-URL: https://build.opensuse.org/request/show/139959
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=40
2012-11-04 02:57:33 +00:00
Stephan Kulow
4bd7973d21 Accepting request 128191 from Base:System
- Drop patch 0001-multipath.rules.patch, multipath not ready yet.

- Fix the installation of multipath.rules file.

OBS-URL: https://build.opensuse.org/request/show/128191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=50
2012-07-18 15:33:55 +00:00
Robert Milasan
36b86c1e9b minor update
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=38
2012-07-18 07:50:16 +00:00
Robert Milasan
a71166d815 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=37 2012-07-17 13:25:43 +00:00
Robert Milasan
7887691637 - Drop patch 0001-multipath.rules.patch, multipath not ready yet.
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=36
2012-07-17 13:24:43 +00:00
Robert Milasan
006f2efce3 - Fix the installation of multipath.rules file.
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=35
2012-07-17 12:45:03 +00:00
Stephan Kulow
65fd393e1c Accepting request 124461 from Base:System
- Drop RUN+="socket:..." and update the multipath.rule like Fedora
  does.

OBS-URL: https://build.opensuse.org/request/show/124461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=48
2012-06-12 05:09:33 +00:00
Robert Milasan
7585548e0a - Drop RUN+="socket:..." and update the multipath.rule like Fedora
does.

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=33
2012-06-11 13:04:35 +00:00
Stephan Kulow
a39c1e6385 Accepting request 122934 from Base:System
- Update to version 0.4.9
- Merge in latest changes from mainline

OBS-URL: https://build.opensuse.org/request/show/122934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=47
2012-06-01 05:21:35 +00:00
Hannes Reinecke
dc4b6848bc - Update to version 0.4.9
- Merge in latest changes from mainline

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=31
2012-05-30 15:33:50 +00:00
Hannes Reinecke
212398378e Checked in from git branch opensuse-12.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=30
2012-05-30 15:19:16 +00:00
Hannes Reinecke
02bdc496f1 Checked in from git branch opensuse-12.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=29
2012-05-30 15:00:14 +00:00
Stephan Kulow
59ea339646 Accepting request 114788 from Base:System
- Run update of initrd at %post and %postun.
  We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/request/show/114788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=46
2012-04-23 07:15:43 +00:00
Robert Milasan
6ddeb46f5a - Run update of initrd at %post and %postun.
We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=27
2012-04-20 08:35:35 +00:00
Stephan Kulow
aec2b06e93 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=45
2011-12-06 17:30:31 +00:00
Ruediger Oertel
62fe4080e7 Accepting request 86453 from Base:System
- cross-build fix: use %__cc macro (forwarded request 86423 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=43
2011-10-04 16:14:01 +00:00