!53 kdumpctl: ignore deprecated and invalid kdump config option
From: @chenhaixaing Reviewed-by: @wangbin224 Signed-off-by: @wangbin224
This commit is contained in:
commit
2b614cd628
2
kdumpctl
2
kdumpctl
@ -256,11 +256,9 @@ check_config()
|
|||||||
;;
|
;;
|
||||||
net|options|link_delay|disk_timeout|debug_mem_level|blacklist)
|
net|options|link_delay|disk_timeout|debug_mem_level|blacklist)
|
||||||
echo "Deprecated kdump config option: $config_opt. Refer to kdump.conf manpage for alternatives."
|
echo "Deprecated kdump config option: $config_opt. Refer to kdump.conf manpage for alternatives."
|
||||||
return 1
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid kdump config option $config_opt"
|
echo "Invalid kdump config option $config_opt"
|
||||||
return 1;
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done <<< "$(read_strip_comments $KDUMP_CONFIG_FILE)"
|
done <<< "$(read_strip_comments $KDUMP_CONFIG_FILE)"
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.23
|
Version: 2.0.23
|
||||||
Release: 6
|
Release: 7
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
URL: https://www.kernel.org/
|
URL: https://www.kernel.org/
|
||||||
@ -288,6 +288,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 23 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.23-7
|
||||||
|
- kdumpctl:ignore deprecated and invalid kdump config option
|
||||||
|
|
||||||
* Wed Aug 3 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.23-6
|
* Wed Aug 3 2022 chenhaixiang <chenhaixiang3@huawei.com> - 2.0.23-6
|
||||||
- fix CVE-2021-20269
|
- fix CVE-2021-20269
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user