22.04 kdump generate failed

Bug #2046430 reported by Agora Machine Reliability Engineering
6
This bug affects 1 person
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/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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.