22.04 kdump generate failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We use apt install kdump-tools without recommend package, and it will not install makedumpfile package, it will make the kdump generate failed.
Check the console will notice:
[ 18.580478] kdump-tools[578]: Starting kdump-tools:
[ 18.596729] kdump-tools[583]: * running makedumpfile -F -c -d 31 /proc/vmcore | compress > /var/crash/
[ 18.617167] kdump-tools[600]: /usr/sbin/
[ 18.636226] kdump-tools[583]: * kdump-tools: saved vmcore in /var/crash/
[ 18.652078] kdump-tools[583]: * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/
[ 18.672111] kdump-tools[583]: /usr/sbin/
[ 18.688081] kdump-tools[583]: * kdump-tools: makedumpfile --dump-dmesg failed. dmesg content will be unavailable
[ 18.708078] kdump-tools[583]: * kdump-tools: failed to save dmesg content in /var/crash/
[ 18.728308] kdump-tools[608]: Thu, 14 Dec 2023 08:33:18 +0000
[ 18.744403] kdump-tools[609]: Rebooting.
After we install makedumpfile package, kdump will generated well.
I notice the relateion been change by Debian upstream, and I have no idea about it, should we change kdump-tools relationship in ubuntu source?
System info before here:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Kernel: Linux [hostname] 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Package info
kdump-tools:
Installed: 1:1.6.10ubuntu2.1
Candidate: 1:1.6.10ubuntu2.1
Version table:
*** 1:1.6.10ubuntu2.1 500
500 https:/
100 /var/lib/
1:
500 https:/
makedumpfile:
Installed: 1:1.7.0-1ubuntu0.1
Candidate: 1:1.7.0-1ubuntu0.1
Version table:
*** 1:1.7.0-1ubuntu0.1 500
500 https:/
100 /var/lib/
1:
500 https:/