From 35486b6030e78005588698b80559514da508c831 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Fri, 7 Jan 2022 12:30:52 +0800 Subject: [PATCH] fix "kdump: Invalid kdump config option auto_reset_crashkernel" error Resolves: bz1895258 Upstream: Fedora Conflict: None commit ae0cbdf34a51b6b7f12d11f62d45339130750d01 Author: Coiby Xu Date: Fri Jan 7 10:45:40 2022 +0800 fix "kdump: Invalid kdump config option auto_reset_crashkernel" error kdumpctl only accepts a specified set of options. Add auto_reset_crashkernel to this set. Fixes: 73ced7f ("introduce the auto_reset_crashkernel option to kdump.conf") Signed-off-by: Coiby Xu Acked-by: Tao Liu Signed-off-by: Coiby Xu --- kdumpctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdumpctl b/kdumpctl index 28c6074..1bdef71 100755 --- a/kdumpctl +++ b/kdumpctl @@ -235,7 +235,7 @@ check_config() ext[234] | minix | btrfs | xfs | nfs | ssh) config_opt=_target ;; - sshkey | path | core_collector | kdump_post | kdump_pre | extra_bins | extra_modules | failure_action | default | final_action | force_rebuild | force_no_rebuild | fence_kdump_args | fence_kdump_nodes) ;; + sshkey | path | core_collector | kdump_post | kdump_pre | extra_bins | extra_modules | failure_action | default | final_action | force_rebuild | force_no_rebuild | fence_kdump_args | fence_kdump_nodes | auto_reset_crashkernel) ;; net | options | link_delay | disk_timeout | debug_mem_level | blacklist) derror "Deprecated kdump config option: $config_opt. Refer to kdump.conf manpage for alternatives."