From fcc116526c120b46bec25841a1f1c58b68b79367 Mon Sep 17 00:00:00 2001 From: chenhaixiang Date: Wed, 24 Aug 2022 09:41:33 +0800 Subject: [PATCH] kdumpctl:ignore deprecated and invalid kdump config option Signed-off-by: chenhaixiang --- kdumpctl | 2 -- kexec-tools.spec | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kdumpctl b/kdumpctl index fb264c3..00c0064 100755 --- a/kdumpctl +++ b/kdumpctl @@ -256,11 +256,9 @@ check_config() ;; net|options|link_delay|disk_timeout|debug_mem_level|blacklist) echo "Deprecated kdump config option: $config_opt. Refer to kdump.conf manpage for alternatives." - return 1 ;; *) echo "Invalid kdump config option $config_opt" - return 1; ;; esac done <<< "$(read_strip_comments $KDUMP_CONFIG_FILE)" diff --git a/kexec-tools.spec b/kexec-tools.spec index 91383be..29521ad 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.23 -Release: 5 +Release: 6 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -290,6 +290,9 @@ done %endif %changelog +* Tue Aug 23 2022 chenhaixiang - 2.0.23-6 +- kdumpctl:ignore deprecated and invalid kdump config option + * Wed Aug 3 2022 chenhaixiang - 2.0.23-5 - fix CVE-2021-20269 -- Gitee