Bug 2029800

Summary: RFE: Allow creating kdump.img for all kernel versions
Product: Red Hat Enterprise Linux 8 Reporter: Marko Myllynen <myllynen>
Component: kexec-toolsAssignee: Philipp Rudo <prudo>
Status: NEW --- QA Contact: Jie Li <jieli>
Severity: medium Docs Contact: Sujata Kurup <skurup>
Priority: medium    
Version: 8.5CC: frival, prudo, ruyang, skurup, xiawu
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Marko Myllynen 2021-12-07 10:36:54 UTC
Description of problem:
dracut allows updating the standard initramfs image for all kernels with:

dracut -f --regenerate-all

Currently "kdumpctl rebuild" can be used to update the kdump.img image only for the running kernel.

It would be helpful in some cases if "kdumpctl rebuild" would provide similar functionality as dracut so to allow creating/updating the kdump.img for all the installed kernel versions.

For instance, when creating a base image this could be used to create the kdump.img during image creation time thus hopefully avoiding the need for each instance creating the kdump.img after the initial boot.

Version-Release number of selected component (if applicable):
RHEL 8.5

Comment 10 Philipp Rudo 2023-06-19 12:45:20 UTC
Draft for this feature was sent to the mailing list [1]. It became a rather large change so I'm afraid I won't be able to backport it to 8.9/9.3 in time. So deferring this RFE once more.

[1] https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org/thread/ENTBABCB6OJO3X4ZAP5CLJT5K5FUNYGV/