Kdump service fails to start with the error message: "kdump: makedumpfile parameter check failed".
Issue
- When
core_collector makedumpfileis specified without options in/etc/kdump.conf, thekdumpservice fails to start with the error:kdump: makedumpfile parameter check failed.
Red Hat Enterprise Linux 8
# kdumpctl restart
kdump: kexec: unloaded kdump kernel
kdump: Stopping kdump: [OK]
kdump: Detected change(s) in the following file(s): /etc/kdump.conf
kdump: Rebuilding /boot/initramfs-4.18.0-372.89.1.el8_6.x86_64kdump.img
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.
kdump: makedumpfile parameter check failed.
kdump: mkdumprd: failed to make kdump initrd
kdump: Starting kdump: [FAILED]
Red Hat Enterprise Linux 9
# kdumpctl restart
kdump: kexec: unloaded kdump kernel
kdump: Stopping kdump: [OK]
kdump: Detected change(s) in the following file(s): /etc/kdump.conf
kdump: Rebuilding /boot/initramfs-5.14.0-396.el9.x86_64kdump.img
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.
kdump: makedumpfile parameter check failed.
kdump: mkdumprd: failed to make kdump initrd
kdump: Starting kdump: [FAILED]
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- kexec-tools
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.