diff --git a/0037-lvmdbusd-fix-Python-script.patch b/0037-lvmdbusd-fix-Python-script.patch new file mode 100644 index 0000000000000000000000000000000000000000..b1b3aab280294624d38b21971b05ceda878d1edd --- /dev/null +++ b/0037-lvmdbusd-fix-Python-script.patch @@ -0,0 +1,27 @@ +From 493d8908fbd859d744941731bda83682817c2e51 Mon Sep 17 00:00:00 2001 +From: Tobias Stoeckmann +Date: Fri, 13 Sep 2024 18:35:18 +0200 +Subject: [PATCH] lvmdbusd: Fix Python script + +The thread does not contain field "damon" but "daemon". + +Actually found with codespell. + +Signed-off-by: Tobias Stoeckmann +--- + daemons/lvmdbusd/main.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py +index c9821e07e..b8238df47 100644 +--- a/daemons/lvmdbusd/main.py ++++ b/daemons/lvmdbusd/main.py +@@ -172,7 +172,7 @@ def main(): + cfg.loop = GLib.MainLoop() + + for thread in thread_list: +- thread.damon = True ++ thread.daemon = True + thread.start() + + # Add udev watching diff --git a/lvm2.spec b/lvm2.spec index 03abdc91d23e8775eec2c17f1fc05c6dc5433f02..80851e2e798b145567ab50bb365f89035a741ac4 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -43,7 +43,7 @@ Name: lvm2 Version: 2.03.09 -Release: 27 +Release: 28 Epoch: 8 Summary: Tools for logical volume management License: GPLv2+ and LGPLv2.1 and BSD @@ -85,6 +85,7 @@ Patch33: 0033-fix-pv_major-and-pv_minor-report-field-type.patch Patch34: 0034-fix-buffer-size-usage.patch Patch35: 0035-add-internal-error-for-missing-vg.patch Patch36: 0036-enhance-pointer-safe.patch +Patch37: 0037-lvmdbusd-fix-Python-script.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -510,6 +511,9 @@ fi %changelog +* Fri Nov 14 2025 weishuaihao - 8:2.03.09-28 +- lvmdbusd: Fix Python script + * Thu Nov 13 2025 weishuaihao - 8:2.03.09-27 - enhance pointer safe