!59 [sync] PR-54: kdumpctl: ignore deprecated and invalid kdump config option

From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
This commit is contained in:
openeuler-ci-bot 2022-10-13 03:20:54 +00:00 committed by Gitee
commit 098e931270
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 3 deletions

View File

@ -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)"

View File

@ -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 <chenhaixiang3@huawei.com> - 2.0.23-6
- kdumpctl:ignore deprecated and invalid kdump config option
* Wed Aug 3 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.23-5
- fix CVE-2021-20269