Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2024-06-03 17:40:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lvm2 (Old)
and /work/SRC/openSUSE:Factory/.lvm2.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2"
Mon Jun 3 17:40:31 2024 rev:165 rq:1178006 version:2.03.24
Changes:
--------
--- /work/SRC/openSUSE:Factory/lvm2/lvm2.changes 2024-05-23 15:35:08.843369807 +0200
+++ /work/SRC/openSUSE:Factory/.lvm2.new.24587/lvm2.changes 2024-06-03 17:40:33.880603957 +0200
@@ -1,0 +2,136 @@
+Sat Jun 1 01:46:00 UTC 2024 - Heming Zhao
+
+- add rpm dependency in spec file for aligning new DM udev rules (bsc#1225783)
+ * update lvm2.spec
+
+-------------------------------------------------------------------
+Sun May 26 13:14:00 UTC 2024 - Heming Zhao
+
+- Update lvm2 from LVM2.2.03.22 to LVM2.2.03.24
+
+ *** WHATS_NEW from 2.03.22 to 2.03.24 ***
+
+ Version 2.03.24 - 16th May 2024
+ ===============================
+ Lvconvert supports VDO options for thin-pool with vdo conversion.
+ Improve placement to .data.rel.ro and .rodata sections.
+ Fix support for -y and -W when creating thinpool with vdo.
+ Bettter support for runtime valgrind detection.
+ Allow command interruption when communicating with dmeventd.
+ Fix resize of VDO volume used for thin pool data volume.
+ Use -Wl,-z,now and -Wl,--as-needed for compilation by default.
+ Require 3.7 as minimal version for sanlock.
+ Share code for closing opened desriptors on program startup.
+ Fix memleak in lvmcache.
+ Add configure --with-default-event-activation=ON setting.
+ Fix return value from reporter function when hitting internal error.
+ Skip checking of pools for lvremove and vgremove commands.
+ VDO modprobes dm-vdo for 6.9 kernel and kvdo for older kernel version.
+ Fix lvs reporting for VDO volumes with new upstream kernel driver.
+ Don't import DM_UDEV_DISABLE_OTHER_RULES_FLAG in LVM rules, DM rules cover it.
+ Fix table line generation for cache snapshots using cachevol.
+ Enhance lvconvert support for external origins stacking.
+ When swapping LV names also swap properties like hostname, time and data.
+ Fix removal of stacked external origins.
+ Lock filesystem when converting volume to read-only external origin.
+ Support external origin between different thin-pool.
+ Improve validation of acceptable volumes for external origins.
+ Reduce amount of preloaded devices for complex device trees.
+ Avoid logging problems from monitoring snapshots with inactive origins.
+ Check for cache policy module presence in kernel's builtin modules file.
+ Add configure --with-modulesdir to select kernel modules directory.
+ Support creation of thin-pool with VDO use for its data volume.
+
+ Version 2.03.23 - 21st November 2023
+ ====================================
+ Set the first lv_attr flag for raid integrity images to i or I.
+ Add -A option for pvs and pvscan to show PVs outside devices file.
+ Improve searched_devnames temp file usage to prevent redundant scanning.
+ Change default search_for_devnames from auto to all.
+ Add lvmdevices --refresh to search for missing PVIDs on all devices.
+ Add comparison between old and new entries in lvmdevices --check.
+ Fix device_id matching order - match non-devname first.
+ Fix "lvconvert -m 0" when there is other than first in-sync leg.
+ Use system.devices as default for dmeventd when dmeventd.devices is undefined.
+ Accept WWIDs containing QEMU HARDDISK for device_id.
+ Improve handling of non-standard WWID prefixes used for device_id.
+ Configure automatically enables cmdlib for dmeventd and notify-dbus for dbus.
+ Fix hint calculation for pools with zero or error segment.
+ Configure supports --disable-shared to build only static binaries.
+ Configure supports --without-{blkid|systemd|udev} for easier static build.
+ Refresh device ids if the system changes.
+ Fix pvmove when specifying raid components as moved LVs.
+ Enhance error detection for lvm_import_vdo.
+ Support PV lists with thin lvconvert.
+ Fix support for lvm_import_vdo with SCSI VDO volumes.
+ Fix locking issue leading to hanging concurrent vgchange --refresh.
+ Recognize lvm.conf report/headings=2 for full column names in report headings.
+ Add --headings none|abbrev|full cmd line option to set report headings type.
+ Fix conversion to thin pool using lvmlockd.
+ Fix conversion from thick into thin volume using lvmlockd.
+ Require writable LV for conversion to vdo pool.
+ Fix return value from lvconvert integrity remove.
+ Preserve UUID for pool metadata spare.
+ Preserve UUID for swapped pool metadata.
+ Rewrite validation of device name entries used as device_id.
+
+ *** WHATS_NEW_DM from 1.02.196 to 1.02.198 ***
+
+ Version 1.02.198 - 16th May 2024
+ ================================
+ Fix static only compilation of libdevmapper.a and dmsetup tool.
+ Use better code for closing opened descriptors when starting dmeventd.
+ Correct dmeventd -R for systemd environment.
+ Restart of dmeventd -R checks pid file to detect running dmeventd first.
+ Query with dmeventd -i quickly ends when there is no running dmeventd.
+ Enhance dm_get_status_raid to handle mismatching status or reported legs.
+ Create /dev/disk/by-label symlinks for DM devs that have crypto as next layer.
+ Persist udev db for DM devs on cleanup used in initrd to rootfs transition.
+ Process synthetic udev events other than 'add/change' as 'change' events.
+ Increase DM_UDEV_RULES_VSN to 3 to indicate changed udev rules.
+ Rename DM_NOSCAN to .DM_NOSCAN so it's not stored in udev db.
+ Rename DM_SUSPENDED to .DM_SUSPENDED so it's not stored in udev db.
+ Do not import DM_UDEV_DISABLE_OTHER_RULES_FLAG from db in 10-dm-disk.rules.
+ Test DISK_RO after importing properties from db in 10-dm.rules.
+ Also import ID_FS_TYPE in 13-dm-disk.rules from db if needed.
+
+ Version 1.02.197 - 21st November 2023
+ =====================================
+ Fix invalid JSON report if using DM_REPORT_OUTPUT_MULTIPLE_TIMES and selection.
+ Propagate ioctl errno from dm_task_run when creating new table line.
+ Add support for group aliases in dmstats.
+ Add support for exit-on file for dmeventd to reduce shutdown delays.
+ Add configure option --with-dmeventd-exit-on-path to specify default path.
+ Add dmsetup --headings none|abbrev|full to set report headings type.
+ Add DM_REPORT_OUTPUT_FIELD_IDS_IN_HEADINGS to provide alternative headings.
+
+- Drop patches that have been merged into upstream
+ - 0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
+ - 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
+ - 0003-lvconvert-fix-regresion-from-integrity-check.patch
+ - 0004-gcc-cleanup-warnings.patch
+ - 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
+ - 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
+ - 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
+ - 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
+ - 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
+ - 0010-lvmlockd-client-mutex-ordering.patch
+ - 0011-filesystem-move-stat-after-open-check.patch
+ - 0012-tests-check-for-writecache.patch
+ - 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
+ - 0014-gcc-fix-warnings-for-x32-architecture.patch
+ - 0015-gcc-warning-missing-braces-around-initializer.patch
+ - 0016-test-improve-aux-teardown.patch
+ - 0017-tests-aux-try-with-extra-sleep.patch
+ - 0018-tests-aux-using-singl-lvmconf-call.patch
+ - 0019-tests-missing-to-check-for-writecache-support.patch
+ - 0020-tests-pvmove-large-disk-area.patch
+ - 0021-tests-enforce-full-fs-check.patch
+ - 0022-tests-update-for-work-in-fake-dev-environment.patch
+ - 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
+ - 0024-tests-better-slowdown.patch
+
+- Update patch
+ - bug-1184687_Add-nolvm-for-kernel-cmdline.patch
+
+-------------------------------------------------------------------
Old:
----
0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
0003-lvconvert-fix-regresion-from-integrity-check.patch
0004-gcc-cleanup-warnings.patch
0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
0010-lvmlockd-client-mutex-ordering.patch
0011-filesystem-move-stat-after-open-check.patch
0012-tests-check-for-writecache.patch
0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
0014-gcc-fix-warnings-for-x32-architecture.patch
0015-gcc-warning-missing-braces-around-initializer.patch
0016-test-improve-aux-teardown.patch
0017-tests-aux-try-with-extra-sleep.patch
0018-tests-aux-using-singl-lvmconf-call.patch
0019-tests-missing-to-check-for-writecache-support.patch
0020-tests-pvmove-large-disk-area.patch
0021-tests-enforce-full-fs-check.patch
0022-tests-update-for-work-in-fake-dev-environment.patch
0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
0024-tests-better-slowdown.patch
LVM2.2.03.22.tgz
LVM2.2.03.22.tgz.asc
New:
----
LVM2.2.03.24.tgz
LVM2.2.03.24.tgz.asc
BETA DEBUG BEGIN:
Old:- Drop patches that have been merged into upstream
- 0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
- 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
Old: - 0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
- 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
- 0003-lvconvert-fix-regresion-from-integrity-check.patch
Old: - 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
- 0003-lvconvert-fix-regresion-from-integrity-check.patch
- 0004-gcc-cleanup-warnings.patch
Old: - 0003-lvconvert-fix-regresion-from-integrity-check.patch
- 0004-gcc-cleanup-warnings.patch
- 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
Old: - 0004-gcc-cleanup-warnings.patch
- 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
- 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
Old: - 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
- 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
- 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
Old: - 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
- 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
- 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
Old: - 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
- 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
- 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
Old: - 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
- 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
- 0010-lvmlockd-client-mutex-ordering.patch
Old: - 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
- 0010-lvmlockd-client-mutex-ordering.patch
- 0011-filesystem-move-stat-after-open-check.patch
Old: - 0010-lvmlockd-client-mutex-ordering.patch
- 0011-filesystem-move-stat-after-open-check.patch
- 0012-tests-check-for-writecache.patch
Old: - 0011-filesystem-move-stat-after-open-check.patch
- 0012-tests-check-for-writecache.patch
- 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
Old: - 0012-tests-check-for-writecache.patch
- 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
- 0014-gcc-fix-warnings-for-x32-architecture.patch
Old: - 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
- 0014-gcc-fix-warnings-for-x32-architecture.patch
- 0015-gcc-warning-missing-braces-around-initializer.patch
Old: - 0014-gcc-fix-warnings-for-x32-architecture.patch
- 0015-gcc-warning-missing-braces-around-initializer.patch
- 0016-test-improve-aux-teardown.patch
Old: - 0015-gcc-warning-missing-braces-around-initializer.patch
- 0016-test-improve-aux-teardown.patch
- 0017-tests-aux-try-with-extra-sleep.patch
Old: - 0016-test-improve-aux-teardown.patch
- 0017-tests-aux-try-with-extra-sleep.patch
- 0018-tests-aux-using-singl-lvmconf-call.patch
Old: - 0017-tests-aux-try-with-extra-sleep.patch
- 0018-tests-aux-using-singl-lvmconf-call.patch
- 0019-tests-missing-to-check-for-writecache-support.patch
Old: - 0018-tests-aux-using-singl-lvmconf-call.patch
- 0019-tests-missing-to-check-for-writecache-support.patch
- 0020-tests-pvmove-large-disk-area.patch
Old: - 0019-tests-missing-to-check-for-writecache-support.patch
- 0020-tests-pvmove-large-disk-area.patch
- 0021-tests-enforce-full-fs-check.patch
Old: - 0020-tests-pvmove-large-disk-area.patch
- 0021-tests-enforce-full-fs-check.patch
- 0022-tests-update-for-work-in-fake-dev-environment.patch
Old: - 0021-tests-enforce-full-fs-check.patch
- 0022-tests-update-for-work-in-fake-dev-environment.patch
- 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
Old: - 0022-tests-update-for-work-in-fake-dev-environment.patch
- 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
- 0024-tests-better-slowdown.patch
Old: - 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
- 0024-tests-better-slowdown.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lvm2.spec ++++++
--- /var/tmp/diff_new_pack.HkEs2e/_old 2024-06-03 17:40:38.268764962 +0200
+++ /var/tmp/diff_new_pack.HkEs2e/_new 2024-06-03 17:40:38.280765403 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package lvm2
+# spec file
#
# Copyright (c) 2024 SUSE LLC
#
@@ -21,11 +21,11 @@
%define libname_event libdevmapper-event1_03
%define _udevdir %(pkg-config --variable=udevdir udev)
%define cmdlib liblvm2cmd2_03
-%define lvm2_version 2.03.22
+%define lvm2_version 2.03.24
# For device_mapper_version, it's package version, see bsc#1199074.
# Also note there is another dm version on below "sed -ie ... VERSION_DM".
-%define upstream_device_mapper_version 1.02.196
-%define device_mapper_version %{lvm2_version}_1.02.196
+%define upstream_device_mapper_version 1.02.198
+%define device_mapper_version %{lvm2_version}_1.02.198
%define thin_provisioning_version 0.7.0
%define _supportsanlock 1
%define dlm_version 4.0.9
@@ -71,30 +71,7 @@
Source99: baselibs.conf
# Upstream patches
-Patch0001: 0001-lvconvert-swapmetadata-fix-lvmlockd-locking.patch
-Patch0002: 0002-lvconvert-fix-ret-values-fro-integrity-remove.patch
-Patch0003: 0003-lvconvert-fix-regresion-from-integrity-check.patch
-Patch0004: 0004-gcc-cleanup-warnings.patch
-Patch0005: 0005-lvmlockd-fix-thick-to-thin-lv-conversion.patch
-Patch0006: 0006-lvmlockd-let-lockd_init_lv_args-set-lock_args.patch
-Patch0007: 0007-lvmlockd-fix-lvconvert-to-thin-pool.patch
-Patch0008: 0008-lvconvert-run-error-path-code-only-for-shared-VG.patch
-Patch0009: 0009-vgchange-acquire-an-exclusive-VG-lock-for-refresh.patch
-Patch0010: 0010-lvmlockd-client-mutex-ordering.patch
-Patch0011: 0011-filesystem-move-stat-after-open-check.patch
-Patch0012: 0012-tests-check-for-writecache.patch
-Patch0013: 0013-lvresize-fix-32-bit-overflow-in-size-calculation.patch
-Patch0014: 0014-gcc-fix-warnings-for-x32-architecture.patch
-Patch0015: 0015-gcc-warning-missing-braces-around-initializer.patch
-Patch0016: 0016-test-improve-aux-teardown.patch
-Patch0017: 0017-tests-aux-try-with-extra-sleep.patch
-Patch0018: 0018-tests-aux-using-singl-lvmconf-call.patch
-Patch0019: 0019-tests-missing-to-check-for-writecache-support.patch
-Patch0020: 0020-tests-pvmove-large-disk-area.patch
-Patch0021: 0021-tests-enforce-full-fs-check.patch
-Patch0022: 0022-tests-update-for-work-in-fake-dev-environment.patch
-Patch0023: 0023-tests-skip-test-when-lvmdbusd-runs-on-the-system.patch
-Patch0024: 0024-tests-better-slowdown.patch
+#Patch0001: n/a
# SUSE patches: 1000+ for LVM
# Never upstream
Patch1001: cmirrord_remove_date_time_from_compilation.patch
@@ -122,8 +99,10 @@
BuildRequires: pkgconfig(libudev)
Requires: device-mapper >= %{device_mapper_version}
Requires: modutils
+#see bsc#1225783
+Requires: (udev >= 255.7 if udev)
Requires(post): coreutils
-Requires(postun): coreutils
+Requires(postun):coreutils
Provides: lvm = %{version}
Obsoletes: lvm2-cmirrord <= %{lvm2_cmirrord_version}
%{?systemd_requires}
@@ -155,30 +134,6 @@
%prep
%setup -q -n LVM2.%{version}
-%patch -P 0001 -p1
-%patch -P 0002 -p1
-%patch -P 0003 -p1
-%patch -P 0004 -p1
-%patch -P 0005 -p1
-%patch -P 0006 -p1
-%patch -P 0007 -p1
-%patch -P 0008 -p1
-%patch -P 0009 -p1
-%patch -P 0010 -p1
-%patch -P 0011 -p1
-%patch -P 0012 -p1
-%patch -P 0013 -p1
-%patch -P 0014 -p1
-%patch -P 0015 -p1
-%patch -P 0016 -p1
-%patch -P 0017 -p1
-%patch -P 0018 -p1
-%patch -P 0019 -p1
-%patch -P 0020 -p1
-%patch -P 0021 -p1
-%patch -P 0022 -p1
-%patch -P 0023 -p1
-%patch -P 0024 -p1
%patch -P 1001 -p1
%patch -P 1002 -p1
%patch -P 1003 -p1
++++++ LVM2.2.03.22.tgz -> LVM2.2.03.24.tgz ++++++
++++ 50912 lines of diff (skipped)
++++++ bug-1184687_Add-nolvm-for-kernel-cmdline.patch ++++++
--- /var/tmp/diff_new_pack.HkEs2e/_old 2024-06-03 17:40:39.548811929 +0200
+++ /var/tmp/diff_new_pack.HkEs2e/_new 2024-06-03 17:40:39.552812075 +0200
@@ -34,14 +34,15 @@
diff -Nupr a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in
--- a/udev/69-dm-lvm.rules.in 2022-09-02 14:04:51.074880312 +0800
+++ b/udev/69-dm-lvm.rules.in 2022-09-02 14:07:19.978230990 +0800
-@@ -10,6 +10,9 @@ SUBSYSTEM!="block", GOTO="lvm_end"
+@@ -10,6 +10,9 @@ (LVM_EXEC_RULE)
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="lvm_end"
+IMPORT{cmdline}="nolvm"
+ENV{nolvm}=="?*", GOTO="lvm_end"
+
- # Only process devices already marked as a PV - this requires blkid to be called before.
- ENV{ID_FS_TYPE}!="LVM2_member", GOTO="lvm_end"
- ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="lvm_end"
+ # Ignore PVs on LVs.
+ # This is usually a case of an LV being used for a guest VM
+ # image, where the guest is using lvm. The host should
+ # ignore lvm data from the guest and not attempt to scan or