From fcdaacfcf8b97f05738db8761028e3f55644d5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Thu, 7 Nov 2024 15:42:13 +0800 Subject: [PATCH] lvmdbusd: Fix Python script --- 0024-lvmdbusd-Fix-Python-script.patch | 25 +++++++++++++++++++++++++ lvm2.spec | 9 ++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0024-lvmdbusd-Fix-Python-script.patch diff --git a/0024-lvmdbusd-Fix-Python-script.patch b/0024-lvmdbusd-Fix-Python-script.patch new file mode 100644 index 0000000..57837d5 --- /dev/null +++ b/0024-lvmdbusd-Fix-Python-script.patch @@ -0,0 +1,25 @@ +From a47ba6c4ecf95c32cd21868f50a7632620dab927 Mon Sep 17 00:00:00 2001 +From: shenzhongwei +Date: Thu, 7 Nov 2024 15:38:06 +0800 +Subject: [PATCH] lvmdbusd: Fix Python script + +--- + 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 e07710a..71d43a3 100644 +--- a/daemons/lvmdbusd/main.py ++++ b/daemons/lvmdbusd/main.py +@@ -214,7 +214,7 @@ def main(): + cfg.loop = GLib.MainLoop() + + for thread in thread_list: +- thread.damon = True ++ thread.daemon = True + thread.start() + + # In all cases we are going to monitor for udev until we get an +-- +2.27.0 + diff --git a/lvm2.spec b/lvm2.spec index 24e641a..33a7a1f 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -43,7 +43,7 @@ Name: lvm2 Version: 2.03.21 -Release: 14 +Release: 15 Epoch: 8 Summary: Tools for logical volume management License: GPLv2+ and LGPLv2.1 and BSD @@ -72,6 +72,7 @@ Patch20: 0020-udev-create-dev-disk-by-label-symlinks-for-DM-devs-t.patch Patch21: 0021-lvmcache-fix-memleaks-on-list-removal.patch Patch22: 0022-dmstats-Fix-memory-leak-on-error-path.patch Patch23: 0023-fix-function-undeclared-in-libdm-common.c-and-dev-cache.c.patch +Patch24: 0024-lvmdbusd-Fix-Python-script.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -498,6 +499,12 @@ fi %changelog +* Thu Nov 07 2024 shenzhongwei - 8:2.03.21-15 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:lvmdbusd: Fix Python script + * Tue Nov 05 2024 shenzhongwei - 8:2.03.21-14 - Type:bugfix - ID:NA -- Gitee