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
** Changed in: makedumpfile (Ubuntu)
Status: New => Confirmed
** Changed in: makedumpfile (Ubuntu)
Importance: Undecided => Medium
** Changed in: makedumpfile (Ubuntu)
Assignee: (unassigned) => Guilherme G. Piccoli (gpiccoli)
** Tags added: sts
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to makedumpfile in Ubuntu.
https://bugs.launchpad.net/bugs/1893837
Title:
[RFE] Enable makedumpfile invocation from initramfs
Status in makedumpfile package in Ubuntu:
Confirmed
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.d/kdump-tools hooks can have makedumpfile be called
earler. Although feasible, that's too much of a "hack", and this could ideally
be embedded in kdump-tools as an option.
[Regressions]
TBE.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1893837/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp