Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2022-03-14 19:35:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lvm2 (Old) and /work/SRC/openSUSE:Factory/.lvm2.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2" Mon Mar 14 19:35:16 2022 rev:152 rq:961358 version:2.03.15 Changes: -------- --- /work/SRC/openSUSE:Factory/lvm2/lvm2.changes 2022-03-05 14:44:22.783715495 +0100 +++ /work/SRC/openSUSE:Factory/.lvm2.new.25692/lvm2.changes 2022-03-14 19:37:05.382128061 +0100 @@ -1,0 +2,6 @@ +Thu Mar 10 01:25:00 UTC 2022 - Heming Zhao <heming.z...@suse.com> + +- Udev database has incomplete information about device /dev/sda. (bsc#1181242) + + 0024-pvscan-don-t-use-udev-for-external-device-info.patch + +------------------------------------------------------------------- New: ---- 0024-pvscan-don-t-use-udev-for-external-device-info.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.hqddb8/_old 2022-03-14 19:37:06.210129054 +0100 +++ /var/tmp/diff_new_pack.hqddb8/_new 2022-03-14 19:37:06.214129058 +0100 @@ -86,6 +86,7 @@ Patch0021: 0021-devices-use-dev-cache-aliases-handling-from-label-sc.patch Patch0022: 0022-devices-only-close-PVs-on-LVs-when-scan_lvs-is-enabl.patch Patch0023: 0023-writecache-check-memory-usage.patch +Patch0024: 0024-pvscan-don-t-use-udev-for-external-device-info.patch # SUSE patches: 1000+ for LVM # Never upstream Patch1001: cmirrord_remove_date_time_from_compilation.patch @@ -168,6 +169,7 @@ %patch0021 -p1 %patch0022 -p1 %patch0023 -p1 +%patch0024 -p1 %patch1001 -p1 %patch1002 -p1 %patch1003 -p1 ++++++ 0024-pvscan-don-t-use-udev-for-external-device-info.patch ++++++ >From c7a5b5cca067496f5912bf992dcfedb6771dd083 Mon Sep 17 00:00:00 2001 From: David Teigland <teigl...@redhat.com> Date: Wed, 9 Mar 2022 11:54:59 -0600 Subject: [PATCH] pvscan: don't use udev for external device info pvscan is used to populate udev info, so it can't expect to use that udev info. --- tools/pvscan.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/pvscan.c b/tools/pvscan.c index dcf183a464d9..db6709a5a23a 100644 --- a/tools/pvscan.c +++ b/tools/pvscan.c @@ -1710,13 +1710,11 @@ int pvscan_cache_cmd(struct cmd_context *cmd, int argc, char **argv) } /* - * If obtain_device_list_from_udev was set to 1, force it to 0. - * Don't ask udev for info since pvscan is running from udev. - * If a pvscan attempts to get dev info from udev, udev can - * repeatedly return errors about the dev not being initialized - * which will stall the pvscan. + * Do not use udev for device listing or device info because pvscan + * is used to populate udev info. */ init_obtain_device_list_from_udev(0); + init_external_device_info_source(DEV_EXT_NONE); if (arg_is_set(cmd, major_ARG) + arg_is_set(cmd, minor_ARG)) devno_args = 1; -- 2.34.1