Only try to reset crashkernel when kdump.service is enabled
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2243068
Currently, when kexec-tools is installed, the kernel will automatically have the crashkernel parameter set up. In the case where users only want the kexec reboot feature, this is not what users want as a 1G-RAM system will lose 192M memory. Considering Fedora's systemd preset policy has kdump.service disabled and RHEL' has kdump.service enabled, this patch makes kexec-tools only reset crashkernel when kdump.service is enabled.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2023-93fab3be92
Please login to add feedback.
This update has been submitted for testing by coiby.
This update's test gating status has been changed to 'ignored'.
adamwill edited this update.
This update has been pushed to testing.
I have tried to update this package in the Live system and after the installation the
crashkernel
parameter is not present at the grub cmdline andsystemctl status kdump.service
says it is disabled.tested this works as expected, running test kernel installs on a workstation system with and without kdump.service enabled.
This update has been submitted for stable by adamwill.
There is an ongoing freeze; this will be pushed to stable after the freeze is over.
This update has been pushed to stable.