Compare commits
3 Commits
5f177f42c3
...
b90d7c1e28
Author | SHA1 | Date |
---|---|---|
Tao Liu | b90d7c1e28 | |
Coiby Xu | 83698d84aa | |
Coiby Xu | c179f45e05 |
|
@ -0,0 +1,3 @@
|
|||
80ac3f5e77d3c79883edadf14428734db4720009 eppic-e8844d3.tar.gz
|
||||
ed15f191adee22ab0721ba62af1cae67eb981670 kexec-tools-2.0.27.tar.xz
|
||||
98cae2b1062871905795918c32b6d46ccd115074 makedumpfile-1.7.4.tar.gz
|
|
@ -596,10 +596,10 @@ kdump_install_resolv_conf() {
|
|||
#
|
||||
# [1] https://bugzilla.gnome.org/show_bug.cgi?id=690404
|
||||
# [2] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/manually-configuring-the-etc-resolv-conf-file_configuring-and-managing-networking
|
||||
systemctl -q is-enabled systemd-resolved && return 0
|
||||
systemctl -q is-enabled systemd-resolved 2> /dev/null && return 0
|
||||
inst "$_resolv_conf"
|
||||
if NetworkManager --print-config | grep -qs "^dns=none"; then
|
||||
echo "[main]\ndns=none" > "$_nm_conf_dir"/90-dns-none.conf
|
||||
printf "[main]\ndns=none\n" > "${initdir}/${_nm_conf_dir}"/90-dns-none.conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
15
kdump.conf.5
15
kdump.conf.5
|
@ -29,7 +29,20 @@ understand how this configuration file affects the behavior of kdump.
|
|||
.B auto_reset_crashkernel <yes|no>
|
||||
.RS
|
||||
determine whether to reset kernel crashkernel parameter to the default value
|
||||
or not when kexec-tools is updated or a new kernel is installed.
|
||||
or not when kexec-tools is updated or a new kernel is installed. The default
|
||||
crashkernel values are different for different architectures and also take the
|
||||
following factors into consideration,
|
||||
- AMD Secure Memory Encryption (SME) and Secure Encrypted Virtualization (SEV)
|
||||
- Mellanox 5th generation network driver
|
||||
- aarch64 64k kernel
|
||||
- Firmware-assisted dump (FADump)
|
||||
|
||||
Since the kernel crasherkernel parameter will be only reset when kexec-tools is
|
||||
updated or a new kernel is installed, you need to call "kdumpctl
|
||||
reset-crashkernel [--kernel=path_to_kernel]" if you want to use the default
|
||||
value set after having enabled features like SME/SEV for a specific kernel. And
|
||||
you should also reboot the system for the new crashkernel value to take effect.
|
||||
Also see kdumpctl(8).
|
||||
|
||||
.B raw <partition>
|
||||
.RS
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Name: kexec-tools
|
||||
Version: 2.0.27
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2
|
||||
Summary: The kexec/kdump userspace component
|
||||
|
||||
|
@ -408,6 +408,10 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 3 2024 Tao Liu <ltao@redhat.com> - 2.0.27-7
|
||||
- Explain the auto_reset_crashkernel option in more details
|
||||
- Use the same /etc/resolve.conf in kdump initrd if it's managed manually
|
||||
|
||||
* Wed Dec 20 2023 Tao Liu <ltao@redhat.com> - 2.0.27-6
|
||||
- Use the same /etc/resolve.conf in kdump initrd if it's managed manually
|
||||
|
||||
|
|
Loading…
Reference in New Issue