Bug 1974638

Summary: RFE: Support for kernel provided crashkernel.default file
Product: Red Hat Enterprise Linux 9 Reporter: Kairui Song <kasong>
Component: kexec-toolsAssignee: kdump-bugs <kdump-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Jie Li <jieli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jieli, ltao, ruyang, xiawu
Target Milestone: betaKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kexec-tools-2.0.22-9.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:50:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1951392, 1986281    

Description Kairui Song 2021-06-22 08:36:52 UTC
crashkernel=auto will be dropped and kernel package will include a crashkernel.conf indicating the default crashkernel value of a kernel release.
kexec-tools should provide new commands and scripts to update kernel crashkernel value based on this.

To support the crashkernel.conf
1. Add a `kdumpctl reset-crashkernel <kver>` command to reset kernel's crashkernel value.
2. Update new installed kernel crashkernel value automatically if the current kernel is using its default value.
3. Provide some docs.

Kernel change:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1171