From b2b2a733678d42942f3bc95f06cd2d368c9b7afc Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Thu, 1 Oct 2026 12:30:21 +1300 Subject: [PATCH] libdevmapper,lvm2: upgrade 2.03.42 -> 2.03.43,2.03.42 -> 2.03.43 Update 0001-Avoid-bashisms-in-init-scripts.patch as cluster mirror log daemon is dropped[1] Changelog: - Wipe stale signatures before formatting a VDO data LV on thin storage. - Warn on non-power-of-2 thin pool chunk size; prompt when --chunksize is used. - Fix lvmpolld shutdown when reaping a finished client thread. - Fix dmeventd raid repair after partial replacement or resync completion. - Retry failed dmeventd snapshot extension with exponential backoff. - Fix dmeventd snapshot threshold advance when lvextend failed. - Fix dmeventd snapshot unmount on Invalid/Overflow, not 100% usage alone. - Reject undersized --pooldatavdo conversion before allocating pool metadata. - Allow lvchange --refresh and properties on hidden thin and cache pool sub LVs. - Allow 4K stripe size smaller than page size (except on DAX and MD RAID). - Set recursion limit to 1024 LVs when processing device tree. - Remove cmirrord and clustered mirror log daemon support. - Remove legacy vgimportclone.sh script (superseded by native vgimportclone). - Respect /run/mdadm/creating- in 69-dm-lvm.rules. - Add `lvmconfig --edit Section/Field=Value` to set an lvm.conf setting. - Add `lvmconfig --edit Section/Field=-` to remove an lvm.conf setting. - Fix use-after-free of host tag list on toolcontext refresh. - Fix memleak of config tree list nodes on toolcontext refresh. - Fix lvmconfig output of merged and unregistered config nodes. - Recurse into subsections when merging config trees. - Make lvmpersist reject non-block devices and unsupported device types. - Make lvmpersist validate `--vg`/`--device` and key options before use. - Make lvmpersist check for required PR tools (sg_persist, nvme, mpathpersist, jq). - Make lvmpersist clean up registered keys when interrupted during start/takeover. - Make lvmpersist report failures from start, stop, clear, remove and query commands. - Fix lvmpersist `--vg` device list splitting to avoid pathname expansion. [1]https://sourceware.org/git/?p=lvm2.git;a=commit;h=f999dcc03828d097d0cd7288c224efdc07c44ac7 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj --- .../0001-Avoid-bashisms-in-init-scripts.patch | 21 +------------------ meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++-- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch b/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch index fb58793a17..c97cd7a86c 100644 --- a/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch +++ b/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch @@ -12,11 +12,10 @@ Rebase to 2.03.01 Signed-off-by: Hongxu Jia --- scripts/blk_availability_init_red_hat.in | 4 ++-- - scripts/cmirrord_init_red_hat.in | 4 ++-- scripts/lvm2_lvmpolld_init_red_hat.in | 4 ++-- scripts/lvm2_monitoring_init_red_hat.in | 4 ++-- scripts/lvm2_monitoring_init_rhel4 | 4 ++-- - 5 files changed, 10 insertions(+), 10 deletions(-) + 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/blk_availability_init_red_hat.in b/scripts/blk_availability_init_red_hat.in index 347c39574..b2e9cf932 100644 @@ -36,24 +35,6 @@ index 347c39574..b2e9cf932 100644 + echo "Usage: $0 {start|stop|status}" ;; esac -diff --git a/scripts/cmirrord_init_red_hat.in b/scripts/cmirrord_init_red_hat.in -index c82f8f547..a3a321d9c 100755 ---- a/scripts/cmirrord_init_red_hat.in -+++ b/scripts/cmirrord_init_red_hat.in -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - # - # chkconfig: - 22 78 - # description: Starts and stops cmirrord -@@ -103,7 +103,7 @@ case "$1" in - ;; - - *) -- echo $"Usage: $0 {start|stop|restart|status}" -+ echo "Usage: $0 {start|stop|restart|status}" - ;; - esac diff --git a/scripts/lvm2_lvmpolld_init_red_hat.in b/scripts/lvm2_lvmpolld_init_red_hat.in index 176ff5dcb..825f6ad84 100644 diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 8c00063775..62e0b725c7 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -18,8 +18,8 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main;tag=${PV_TAG} \ file://0001-include-libgen.h-for-basename.patch \ " -SRCREV = "56bef2d3430fcc5d5b00f64c099251ea824ad16f" -PV = "2.03.42" +SRCREV = "7b0bce6909611966bdc1e17c2408e1ec3b0f8c17" +PV = "2.03.43" PV_TAG = "v${@d.getVar('PV').replace('.', '_')}" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\_\d+)+)"