[RFE] Enable makedumpfile invocation from initramfs
Bug #1893837 reported by
Pedro Principeza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdump-tools (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
[Request]
To be able to call makedumpfile at the from the initramfs, instead of doing so after rootfs is active/mounted.
[Justification]
Systems with too much memory will demand higher amounts of memory for the crashkernel parameter, as well as having less systemd units up and running before makedumpfile kicks in. The idea is to use as little memory as possible in the kernel dump generation.
[Workaround]
Tailoring the postinst.
[Regressions]
TBE.
affects: | makedumpfile (Ubuntu) → kdump-tools (Ubuntu) |
Changed in kdump-tools (Ubuntu): | |
assignee: | Guilherme G. Piccoli (gpiccoli) → nobody |
tags: | added: fr-2497 |
To post a comment you must log in.
Thanks Pedro for the LP! Related Debian MR: https:/ /salsa. debian. org/debian/ makedumpfile/ -/merge_ requests/ 1
The approach taken in the above Debian MR is pretty complex and involve more than just kdump from initrd.
The idea to implement such feature in a simple and safe way would be to have it as an optional configuration and when that feature is set, an initramfs hook adds the necessary tooling to the kdump initrd; then a script could run and collect the kdump from init-bottom (or local/fs-bottom).
Cascardo, do you agree with that?
Cheers,
Guilherme