kdump-tools does not start a shell with the given option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Manpage Repository |
New
|
Undecided
|
Unassigned | ||
kdump-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
From the Ubuntu manpage for kdump-tools (https:/
This option starts a shell if kdump-tools cannot save the vmcore file:
But that does not seem to work.
I forced kdump-tools to fail by passing an invalid file to save the dumps, and I triggered a panic with 'echo c > /proc/sysrq-
The systems boots the kdump kernel, and then I see the following messages on the screen:
* kdump-tools: failed to save vmcore in /var/crash/
/etc/init.
[ OK ] Finished kdump-tools-
The system freezes, and only a power cycle can bring the system up again.
I have also tried with KDUMP_FAIL_
If no KDUMP_FAIL_CMD is set, kdump-tools works normally as long as it finds a valid path to write the dump, so the tool itself is alright.
Is the example given in the manpage wrong? If so, how can I start a shell if the vmcore file cannot be saved?
Tested with Ubuntu 23.10, kernel 6.5.0.42-generic, kdump-tools installed via apt. Links and options for vmlinuz and initrd.img have not been edited (standard location after installation: /var/lib/