Commit Graph

168 Commits

Author SHA256 Message Date
Tomáš Chvátal
a85c03bfb8 Accepting request 734667 from home:mwilck:branches:Base:System
- Fix LV activation issues (boo#1152378, rh#1727270)
  + bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
  + bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch

OBS-URL: https://build.opensuse.org/request/show/734667
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=254
2019-10-03 06:59:05 +00:00
Gang He
ba39016fb6 Accepting request 729598 from home:hmzhao:branches:Base:System
update lvm2.spec to correct baselibs.conf mistake

OBS-URL: https://build.opensuse.org/request/show/729598
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=252
2019-09-10 02:25:24 +00:00
Gang He
9dc484637c Accepting request 729324 from home:ganghe:branches:Base:System
Avoid creation of mixed-blocksize PV on LVM volume groups (bsc#1149408)

OBS-URL: https://build.opensuse.org/request/show/729324
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=251
2019-09-09 06:55:46 +00:00
Gang He
4af0ba23c0 Accepting request 728718 from home:hmzhao:branches:openSUSE:Factory
upgrade lvm2 from 2.02.180 to 2.03.05. 
this upgrade only for opensuse & sles-15sp2

OBS-URL: https://build.opensuse.org/request/show/728718
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=250
2019-09-06 09:08:10 +00:00
Gang He
5c670ebc3c Accepting request 728458 from home:hmzhao:branches:openSUSE:Factory
upgrade lvm2 from 2.02.180 to 2.03.05. 
this upgrade only for opensuse & sles-15sp2

OBS-URL: https://build.opensuse.org/request/show/728458
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=249
2019-09-05 10:03:51 +00:00
Tomáš Chvátal
0badf76b5c OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=248 2019-08-30 08:45:24 +00:00
Tomáš Chvátal
4b65210801 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=247 2019-08-30 08:34:07 +00:00
Gang He
554da53f00 Accepting request 725505 from home:ganghe:branches:openSUSE:Factory
Fix the bug 1145231

OBS-URL: https://build.opensuse.org/request/show/725505
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=246
2019-08-23 08:35:57 +00:00
Gang He
600377c40b Accepting request 714366 from home:ganghe:branches:openSUSE:Factory
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch
- Fix unknown feature in status message (bsc#1135984)
  + bug-1135984_cache-support-no_discard_passdown.patch

OBS-URL: https://build.opensuse.org/request/show/714366
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=244
2019-07-10 06:17:02 +00:00
Gang He
d1d2497104 Accepting request 712184 from home:hmzhao:branches:openSUSE:Factory
restore lvm.conf

OBS-URL: https://build.opensuse.org/request/show/712184
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=242
2019-06-27 05:21:48 +00:00
Gang He
64964ed048 Accepting request 708884 from home:hmzhao:branches:openSUSE:Factory
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)
- Remove conflict filter in /etc/lvm/lvm.conf (bsc#1137296)

OBS-URL: https://build.opensuse.org/request/show/708884
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=241
2019-06-10 05:11:11 +00:00
Gang He
8686071c7f Accepting request 706184 from home:hmzhao:branches:openSUSE:Factory
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch
- Fix devices drop open error message (bsc#1122666)
  + bug-1122666_devices-drop-open-error-message.patch

OBS-URL: https://build.opensuse.org/request/show/706184
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=240
2019-05-29 06:30:14 +00:00
Gang He
aac4babd44 Accepting request 686402 from home:marxin:branches:Base:System
- Use %make_build in order to provide verbose output.

OBS-URL: https://build.opensuse.org/request/show/686402
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=238
2019-03-20 02:51:36 +00:00
Gang He
0e50a278e1 Accepting request 670482 from home:ganghe:branches:openSUSE:Factory
Disable the LVM lock daemon using sanlock, in order to avoid the
  dependence on sanlock related packages (bsc#1121382)
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/670482
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=236
2019-02-01 05:45:23 +00:00
Tomáš Chvátal
3900319bdf Accepting request 665742 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

- Use %license instead of %doc [bsc#1082318]

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/665742
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=235
2019-01-14 13:36:28 +00:00
Gang He
d739c3af8f Accepting request 657956 from home:ganghe:branches:openSUSE:Factory
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Update to LVM2.2.02.183
  Avoid disabling lvmetad when repair does nothing.
  Fix component detection for md version 0.90.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Avoid opening devices to get block size by using existing open fd.
- Drop patches that have been merged upstream
  - bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch

OBS-URL: https://build.opensuse.org/request/show/657956
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=234
2018-12-14 05:14:49 +00:00
Gang He
9729dfd46c Accepting request 646329 from home:ganghe:branches:openSUSE:Factory
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch
- Prevent writing beyond metadata area (bsc#1114113)
  + bug-1114113_metadata-prevent-writing-beyond-metadata-area.patch

OBS-URL: https://build.opensuse.org/request/show/646329
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=232
2018-11-05 07:54:59 +00:00
Gang He
f311e5d3ad Accepting request 632084 from home:ganghe:branches:openSUSE:Factory
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch
- Fix lvm2 activation issue when used on top of multipath
  bsc#998893
  + bug-998893_make_pvscan_service_after_multipathd.patch

OBS-URL: https://build.opensuse.org/request/show/632084
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=230
2018-08-29 07:27:06 +00:00
Gang He
7f8f1bbba6 Accepting request 631016 from home:ganghe:branches:openSUSE:Factory
Update change log via the reviewers' comments.

OBS-URL: https://build.opensuse.org/request/show/631016
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=228
2018-08-23 06:19:25 +00:00
Gang He
9b722c3a2d Accepting request 630677 from home:ganghe:branches:openSUSE:Factory
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch

OBS-URL: https://build.opensuse.org/request/show/630677
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=227
2018-08-21 03:13:03 +00:00
Gang He
d837fba6c1 Accepting request 623585 from home:ganghe:branches:openSUSE:Factory
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch
- Fix issuing discard in test mode (bsc#1095960)
  + bug-1095960_dev_io-no-discard-in-testmode.patch

OBS-URL: https://build.opensuse.org/request/show/623585
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=225
2018-07-18 08:52:01 +00:00
Gang He
90900723ea Accepting request 612714 from home:ganghe:branches:openSUSE:Factory
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)
- Fix the wrong filter for the cdrom device in /etc/lvm/lvm.conf
  (bsc#1081530)

OBS-URL: https://build.opensuse.org/request/show/612714
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=223
2018-05-29 03:23:47 +00:00
Martin Wilck
628729af6b Accepting request 598472 from home:ganghe:branches:openSUSE:Factory
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
- Fix handling of udev CHANGE events with systemd (bsc#1067312)
  + lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
  + lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch

OBS-URL: https://build.opensuse.org/request/show/598472
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=221
2018-04-19 09:49:14 +00:00
Tomáš Chvátal
e8884d3893 CLVM_PIDFILE, as we determine these features on runtime
bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch
  CLVM_PIDFILE, as we determine these features on runtime
  bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch
  CLVM_PIDFILE, as we determine these features on runtime
  bsc#1080299:
  + bsc1080299-detect-clvm-properly.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=219
2018-02-12 10:18:21 +00:00
Tomáš Chvátal
6e7cf92f00 Accepting request 575513 from home:scarabeus_iv:branches:Base:System
- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

- Fix detection of clvm that happens on compile time based on
  CLVM_PIDFILE, as we determine these features on runtime:
  * bsc1080299-detect-clvm-properly.patch

OBS-URL: https://build.opensuse.org/request/show/575513
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=218
2018-02-12 10:13:53 +00:00
Eric ren
f1f0f1622d Accepting request 570449 from network:ha-clustering:Unstable
- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch 

- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch 

- clvmd: try to refresh device cache on the first failure
  (bsc#978055, bsc#1076042)
 + bug-978055_clvmd-try-to-refresh-device-cache-on-the-first-failu.patch

OBS-URL: https://build.opensuse.org/request/show/570449
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=216
2018-01-29 08:14:27 +00:00
Eric ren
1a6b6dce97 Accepting request 563494 from network:ha-clustering:Unstable
- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

- lvmlockd: add lockopt values for skipping selected locks (fate#323203) 
 + fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch

OBS-URL: https://build.opensuse.org/request/show/563494
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=214
2018-01-11 02:12:30 +00:00
Eric ren
991b3eea09 Accepting request 558347 from network:ha-clustering:Unstable
- device-mapper.spec: fix wrong replacement of DM_VERSION (bsc#1072524) 
- Fixes failure of some testcases caused by nc behavior change (bsc#1072624)
 + bug-1072624_test-lvmetad_dump-always-timed-out-when-using-nc.patch
- Refreshed fate-31841_fsadm-add-support-for-btrfs.patch
- Update to LVM2.2.02.177
  When writing text metadata content, use complete 4096 byte blocks.
  Change text format metadata alignment from 512 to 4096 bytes.
  When writing metadata, consistently skip mdas marked as failed.
  Refactor and adjust text format metadata alignment calculation.
  Ensure _node_send_message always uses clean status of thin pool.
  Fix lvmlockd to use pool lock when accessing _tmeta volume.
  Report expected sanlock_convert errors only when retries fail.
  Avoid blocking in sanlock_convert on SH to EX lock conversion.
  Deactivate missing raid LV legs (_rimage_X-missing_Y_Z) on decativation.
  Categorise I/O with reason annotations in debug messages.
  Allow extending of raid LVs created with --nosync after a failed repair.
  Command will lock memory only when suspending volumes.
  Merge segments when pvmove is finished.
  Activation code for pvmove automatically discovers holding LVs for resume.
  Make a pvmove LV locking holder.
  Do not change critical section counter on resume path without real resume.
  Enhance activation code to automatically suspend pvmove participants.
  Prevent conversion of thin volumes to snapshot origin when lvmlockd is used.
  Add support for pvmove of cache and snapshot origins.
  Avoid using precommitted metadata for suspending pvmove tree.
  Deactivate activated LVs on error path when pvmove activation fails.
  Add "io" to log/debug_classes for logging low-level I/O.
  Avoid importing persistent filter in vgscan/pvscan/vgrename.
  Fix memleak of string buffer when vgcfgbackup runs in secure mode.
  Do not print error when clvmd cannot find running clvmd.

OBS-URL: https://build.opensuse.org/request/show/558347
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=212
2017-12-19 10:40:00 +00:00
Eric ren
f648734a50 Accepting request 545412 from network:ha-clustering:Unstable
- Update to LVM2.2.02.176:
  Keep Install section only in lvm2-{lvmetad,lvmpolld}.socket systemd unit.
  Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
  Do not allow storing VG metadata with LV without any segment.
  Fix printed message when thin snapshot was already merged.
  Remove created spare LV when creation of thin-pool failed.
  Avoid reading ignored metadata when mda gets used again.
  Fix detection of moved PVs in vgsplit. (2.02.175)
  Ignore --stripes/--stripesize on RAID takeover
  Improve used paths for generated systemd units and init shells.
  Disallow creation of snapshot of mirror/raid subLV (was never supported).
  Fix regression in more advanced vgname extraction in lvconvert (2.02.169).
  Allow lvcreate to be used for caching of _tdata LV.
  Avoid internal error when resizing cache type _tdata LV (not yet supported).
  Show original converted names when lvconverting LV to pool volume.
  Move lib code used only by liblvm into metadata-liblvm.c.
  Distinguish between device not found and excluded by filter.
  Monitor external origin LVs. 
  Remove the replicator code, including configure --with-replicators.
  Allow lvcreate --type mirror to work with 100%FREE.
  Improve selection of resource name for complex volume activation lock.
  Avoid cutting first character of resource name for activation lock.
  Support for encrypted devices in fsadm.
  Improve thin pool overprovisioning and repair warning messages.
  Fix incorrect adjustment of region size on striped RaidLVs.
- Update to LVM2.2.02.176:
  Keep Install section only in lvm2-{lvmetad,lvmpolld}.socket systemd unit.
  Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
  Do not allow storing VG metadata with LV without any segment.
  Fix printed message when thin snapshot was already merged.

OBS-URL: https://build.opensuse.org/request/show/545412
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=210
2017-11-25 06:08:13 +00:00
Eric ren
6e5934db47 Accepting request 545140 from network:ha-clustering:Unstable
- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

- Update to LVM2.2.02.176
- Drop: bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
- Refresh: fate-31841_fsadm-add-support-for-btrfs.patch

OBS-URL: https://build.opensuse.org/request/show/545140
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=209
2017-11-24 11:13:44 +00:00
Eric ren
e700b24986 Accepting request 538354 from home:ZRen:branches:Base:System
- Re-add a strict requires on sanlock, fate#323203 

- Re-add a strict requires on sanlock, fate#323203 

- Re-add a strict requires on sanlock, fate#323203

OBS-URL: https://build.opensuse.org/request/show/538354
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=207
2017-11-02 13:02:55 +00:00
Eric ren
97fd3dd3df Accepting request 535963 from network:ha-clustering:Unstable
- lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch
 - lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch
 - lvm2-testsuite.patch to bug-950089_test-fix-lvm2-testsuite-build-error.patch

OBS-URL: https://build.opensuse.org/request/show/535963
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=205
2017-10-23 12:15:37 +00:00
Eric ren
fa5492787c Accepting request 535958 from network:ha-clustering:Unstable
- Update to LVM2.2.02.175
- Use week dependency for lvm2-lockd on libdlm and sanlock
- Rename/refresh patches:
 - display-dm-name-for-lv-name.diff to fate-309425_display-dm-name-for-lv-name.patch
 - fsadm-add-support-for-btrfs.patch to fate-31841_fsadm-add-support-for-btrfs.patch
 - dmeventd-fix-dso-name-wrong-compare.patch to bug-935623_dmeventd-fix-dso-name-wrong-compare.patch
 - lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch to bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
 - simplify-special-case-for-md-in-69-dm-lvm-metadata.patch to bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch

- Drop resource agents for clvmd and cmirror (bsc#1058680)
  - clvmd.ocf
  - cmirrord.ocf
- Drop all patches for cmirror (bsc#1058661)
  - cluster_support_mirrord_log.diff
  - cmirrord_improvment_performance.patch
  - lvconvert-cluster-mirrored-disk-failed.patch
  - improve-mirror-legs-on-different-tag-pvs.patch
  - make-mirror-legs-on-different-tag-pvs.patch
  - use-mirrortype-asdefault-whenclvmdrunning.patch
  - lvm2-testsuite.patch

- Update to LVM2.2.02.175
- Use week dependency for lvm2-lockd on libdlm and sanlock
- Rename/refresh patches:
 - display-dm-name-for-lv-name.diff to fate-309425_display-dm-name-for-lv-name.patch
 - fsadm-add-support-for-btrfs.patch to fate-31841_fsadm-add-support-for-btrfs.patch
 - dmeventd-fix-dso-name-wrong-compare.patch to bug-935623_dmeventd-fix-dso-name-wrong-compare.patch
 - lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch to bug-960044_lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch
 - simplify-special-case-for-md-in-69-dm-lvm-metadata.patch to bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch

OBS-URL: https://build.opensuse.org/request/show/535958
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=204
2017-10-23 11:56:11 +00:00
Eric ren
aa0494a377 Accepting request 521767 from home:mwilck:branches:Base:System
New request after ruuning pre_checkin.sh

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

- Dropped udev rule patches (bsc#1054363)
 * dropped udev_rules-update.diff
 * dropped device-mapper-dmsetup-export.patch
 * dropped udev-Check-for-DM_NR_VALID_PATHS.patch
 * dropped Import-ID_FS_XXX-variables-bnc909358.patch
 * dropped 69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch

OBS-URL: https://build.opensuse.org/request/show/521767
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=202
2017-09-06 20:42:11 +00:00
Eric ren
758f14c3c7 Accepting request 514876 from network:ha-clustering:Unstable
- version-plugins-in-libdir.patch
  - version-plugins-in-libdir.patch
  - version-plugins-in-libdir.patch

OBS-URL: https://build.opensuse.org/request/show/514876
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=201
2017-08-07 08:52:16 +00:00
Eric ren
0ce44c981a Accepting request 514845 from network:ha-clustering:Unstable
- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch
  - device-mapper-type_punning.diff
  - fix-closedown-before-thread-finish.patch
  - libdm-iface-not-output-error-message-inside-retry-loop.patch
  - pvcreate-enhance-the-error-message.patch
  - pvmove_support_clustered_vg.diff

- Update to LVM2.2.02.173
- Sync our lvm.conf with V2.02.173

- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch
  - device-mapper-type_punning.diff
  - fix-closedown-before-thread-finish.patch
  - libdm-iface-not-output-error-message-inside-retry-loop.patch
  - pvcreate-enhance-the-error-message.patch
  - pvmove_support_clustered_vg.diff

- Update to LVM2.2.02.173
- Sync our lvm.conf with V2.02.173

- Dropped several not-upstreamed patches, some of them neither have
  history reference nor patch header, some were temporary workaround
  fix.
  - device-mapper-gcc-warnings.patch

OBS-URL: https://build.opensuse.org/request/show/514845
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=200
2017-08-07 07:53:46 +00:00
Tomáš Chvátal
9845151b03 - Require device-mapper-devel rather than recommend. It is really
needed (the .h files are required by the lvm2app and lvm2cmd)

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=198
2017-07-13 13:10:06 +00:00
Eric ren
673bbc3719 Accepting request 508664 from network:ha-clustering:Unstable
- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

- Don't create symlink for invisible device like thin-pool (bsc#1046591)
  * drop 10-dm.rules-Reset-state-variable-for-spurious-events.patch

OBS-URL: https://build.opensuse.org/request/show/508664
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=196
2017-07-07 05:24:39 +00:00
Eric ren
82463e3962 Accepting request 508229 from network:ha-clustering:Unstable
* removed device-mapper-link.patch
  * removed bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
  * removed Makefile-skip-compliling-daemons-lvmlockd-directory.patch
  * added bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch

OBS-URL: https://build.opensuse.org/request/show/508229
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=195
2017-07-05 01:55:05 +00:00
Eric ren
39212502cd Accepting request 508098 from network:ha-clustering:Unstable
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396
- Update to LVM2.2.02.172
- Cleanup spec file, and refresh patches

- Fix zypper update issue with device-mapper package, see bsc#1045396

OBS-URL: https://build.opensuse.org/request/show/508098
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=194
2017-07-04 12:31:34 +00:00
Eric ren
ca0867bdb4 Accepting request 507153 from home:dimstar:branches:Base:System
- Add Special migration for libdevmapper's move from /lib to
  /usr/lib and from device-mapper.rpm to libdevmapper.rpm: the
  library is now in %{_libdir}, but up to the point where zypp
  removes the 'old' device-mapper package, the old library 'wins'
  the ldloader race resulting in binaries asking for the newer
  version still getting the old one (boo#1045396).
  A typical update issue seen is, zypp updating packages in this
  order:
  - libdevmapper1_03 (new package)
  - libcryptsetup4 (links libdevmapper-1.03, rpm dep satisfied)
  - systemd (linking libcryptsetup.so.4, rpm dep satisfied
    At this point, anything calling systemdctl gets libdevmapper
    from the old device-mapper package into the memory, which in
    turn is version 1.02 and does not provide all the needed
    symbols
  - device-mapper (which removes /lib/libdevmapper.so.1.02, but is
    now too late, as various post scripts already failed on running
    systemctl)

This has been tested in a VM upgrade, similar to the situation reported in bugzilla - the results was a fully operational system

OBS-URL: https://build.opensuse.org/request/show/507153
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=192
2017-07-01 13:52:52 +00:00
Eric ren
e42ca3a38b Accepting request 504390 from home:ZRen:branches:Base:System
- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

OBS-URL: https://build.opensuse.org/request/show/504390
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=190
2017-06-17 17:19:42 +00:00
Eric ren
3cba7f3163 Accepting request 504374 from home:ZRen:branches:Base:System
- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

- Don't package dynamic directories in /run

- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

- Don't package dynamic directories in /run

- Fix test failures about read ahead issue, see bsc#1043040 
  + bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch
- Reorder the patches to put them into the right groups

OBS-URL: https://build.opensuse.org/request/show/504374
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=189
2017-06-17 15:47:00 +00:00
Eric ren
4e91129e12 Accepting request 502726 from home:kukuk:branches:Base:System
- Don't package dynamic directories in /run

OBS-URL: https://build.opensuse.org/request/show/502726
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=188
2017-06-12 07:02:40 +00:00
Eric ren
31f5264bbb Accepting request 495531 from home:ZRen:branches:Base:System
- Add lvmlockd-related configuration items in lvm.conf, fate#323203

- Add lvmlockd-related configuration items in lvm.conf, fate#323203

- Add lvmlockd-related configuration items in lvm.conf, fate#323203

OBS-URL: https://build.opensuse.org/request/show/495531
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=186
2017-05-17 08:34:14 +00:00
Eric ren
cea84c2670 Accepting request 495194 from home:ZRen:branches:Base:System
- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

- Fix compiling issue of lvmlockd, bsc#1037309
  + Makefile-skip-compliling-daemons-lvmlockd-directory.patch

OBS-URL: https://build.opensuse.org/request/show/495194
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=185
2017-05-16 09:02:24 +00:00
Tomáš Chvátal
d5825cbb3f - Remove block comments that break scriptlets
* warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

- Remove block comments that break scriptlets
  * warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

- Remove block comments that break scriptlets
  * warning: %postun(libdevmapper1_03-1.02.137-5.1.x86_64) scriptlet failed, exit status 1

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=183
2017-05-05 11:34:41 +00:00
Eric ren
40b70d82b5 Accepting request 492763 from home:ZRen:branches:Base:System
- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

- This patch has been dropped since SLE12 (bsc#952300)
  * removed sys_mount_instead_linux_fs.diff
- Drop obsolete patches:
  * removed improve_probing.diff (bsc#49657)
  * removed no-inc-audit.diff 
  * removed suppress_format1_size_warning.diff
- Add more bug/fate references, and reorder the patches accordingly

OBS-URL: https://build.opensuse.org/request/show/492763
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=182
2017-05-04 02:45:40 +00:00
Eric ren
c98d894a7b Accepting request 491173 from home:ZRen:branches:Base:System
- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

- Add check_pv_device_sizes option to check PV and disk sizes
  bsc#999878

OBS-URL: https://build.opensuse.org/request/show/491173
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=181
2017-04-26 05:48:16 +00:00
Tomáš Chvátal
c42d9595ba - BuildRequire modutils so build script detects modprobe and module
autoloading works again (boo#983221)

- BuildRequire modutils so build script detects modprobe and module
  autoloading works again (boo#983221)

- BuildRequire modutils so build script detects modprobe and module
  autoloading works again (boo#983221)

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=180
2017-04-25 12:29:41 +00:00