Public bug reported: 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/202312140833/dump-incomplete [ 18.617167] kdump-tools[600]: /usr/sbin/kdump-config: 783: makedumpfile: not found [ 18.636226] kdump-tools[583]: * kdump-tools: saved vmcore in /var/crash/202312140833 [ 18.652078] kdump-tools[583]: * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/202312140833/dmesg.202312140833 [ 18.672111] kdump-tools[583]: /usr/sbin/kdump-config: 808: makedumpfile: not found [ 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/202312140833 [ 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://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:1.6.10ubuntu1 500 500 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages 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://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:1.7.0-1build1 500 500 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages ** Affects: kexec-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to kexec-tools in Ubuntu. https://bugs.launchpad.net/bugs/2046430 Title: 22.04 kdump generate failed Status in kexec-tools package in Ubuntu: New 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/202312140833/dump-incomplete [ 18.617167] kdump-tools[600]: /usr/sbin/kdump-config: 783: makedumpfile: not found [ 18.636226] kdump-tools[583]: * kdump-tools: saved vmcore in /var/crash/202312140833 [ 18.652078] kdump-tools[583]: * running makedumpfile --dump-dmesg /proc/vmcore /var/crash/202312140833/dmesg.202312140833 [ 18.672111] kdump-tools[583]: /usr/sbin/kdump-config: 808: makedumpfile: not found [ 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/202312140833 [ 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://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:1.6.10ubuntu1 500 500 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages 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://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:1.7.0-1build1 500 500 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/2046430/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp