Bug 2269640 - makedumpfile command not found when building kdump initramfs
Summary: makedumpfile command not found when building kdump initramfs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kexec-tools
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Coiby
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-15 02:13 UTC by Baoquan He
Modified: 2024-03-18 07:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-18 07:23:59 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1140 0 None None None 2024-03-15 02:14:11 UTC

Description Baoquan He 2024-03-15 02:13:36 UTC
Currently, kdump-sysrq-c cki case failed on all architectures due to not found makedumpfile. E.g

https://datawarehouse.cki-project.org/kcidb/tests/11677991

In the taskout.log, we can see that:
https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1214019644/test_x86_64/6397123151/artifacts/run.done.03/job.01/recipes/15735675/tasks/6/logs/taskout.log


Mar 14 21:32:27 kvm-02-guest04.rhts.eng.brq.redhat.com systemd[1]: Starting kdump.service - Crash recovery kernel arming...
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[867]: kdump: No kdump initial ramdisk found.
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[867]: kdump: Rebuilding /boot/initramfs-6.8.0kdump.img
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[973]: /sbin/mkdumprd: line 278: makedumpfile: command not found
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[906]: kdump: makedumpfile parameter check failed.
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[867]: kdump: mkdumprd: failed to make kdump initrd
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com kdumpctl[867]: kdump: Starting kdump: [FAILED]
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com systemd[1]: kdump.service: Failed with result 'exit-code'.
Mar 14 21:32:28 kvm-02-guest04.rhts.eng.brq.redhat.com systemd[1]: Failed to start kdump.service - Crash recovery kernel arming.
kdump: Kdump is not operational

It could be caused by the recent kexec-tools package splitting. Coiby could have comment on this.

Reproducible: Always

Comment 1 Coiby 2024-03-18 07:23:59 UTC
This issue has been fixed in kexec-tools-2.0.28-6.fc41.x86_64 which now depends on makedumpfile. And I can confirm this issue has been gone with Fedora-Rawhide-20240317.n.0.


Note You need to log in before you can comment on or make changes to this bug.