From ddd840c51b3d6e4d7d565cb2ebe986a80f38fd0d Mon Sep 17 00:00:00 2001 From: Kou Wenqi Date: Fri, 27 Jun 2025 14:52:56 +0800 Subject: [PATCH] multipathd: ignore duplicated multipathd command keys --- ...e-duplicated-multipathd-command-keys.patch | 24 +++++++++++++++++++ multipath-tools.spec | 6 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0056-multipathd-ignore-duplicated-multipathd-command-keys.patch diff --git a/0056-multipathd-ignore-duplicated-multipathd-command-keys.patch b/0056-multipathd-ignore-duplicated-multipathd-command-keys.patch new file mode 100644 index 0000000..f354dea --- /dev/null +++ b/0056-multipathd-ignore-duplicated-multipathd-command-keys.patch @@ -0,0 +1,24 @@ +From 89151901ef9eef2dd9bfe0d7fcbd72d65b6e7c8d Mon Sep 17 00:00:00 2001 +From: Kou Wenqi +Date: Fri, 27 Jun 2025 14:40:48 +0800 +Subject: [PATCH] multipathd: ignore duplicated multipathd command keys + +--- + multipathd/cli.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/multipathd/cli.c b/multipathd/cli.c +index 8a62c69..1c41114 100644 +--- a/multipathd/cli.c ++++ b/multipathd/cli.c +@@ -435,6 +435,7 @@ do_genhelp(char *reply, int maxlen, const char *cmd, int error) { + if (len >= maxlen) + goto out; + } ++ break; + } + } + } +-- +2.43.0 + diff --git a/multipath-tools.spec b/multipath-tools.spec index 83351e7..cb7bd89 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -2,7 +2,7 @@ Name: multipath-tools Version: 0.8.4 -Release: 32 +Release: 33 Summary: Tools to manage multipath devices with the device-mapper License: GPL-2.0-or-later and LGPL-2.0-only URL: http://christophe.varoqui.free.fr/ @@ -65,6 +65,7 @@ Patch52: 0052-libmultipath-limit-paths-that-can-get-wwid-from-envi.patch Patch53: 0053-multipathd-don-t-print-so-many-add-map-messages.patch Patch54: 0054-libmultipath-make-dm_get_map-status-return-codes-sym.patch Patch55: 0055-multipathd-fix-check_path-errors-with-removed-map.patch +Patch56: 0056-multipathd-ignore-duplicated-multipathd-command-keys.patch BuildRequires: multipath-tools, libcmocka, libcmocka-devel BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89 @@ -213,6 +214,9 @@ fi %changelog +* Fri Jun 27 2025 kouwenqi - 0.8.4-33 +- multipathd: ignore duplicated multipathd command keys + * Thu Apr 17 2025 Yu Peng - 0.8.4-32 - multipathd: fix check_path errors with removed map. sync community patches: -- Gitee