kdump service fails to restart if no path is set in /etc/kdump.conf
Issue
- kdump service fails to start if there is no path provided in /etc/kdump.conf
# grep -v '#' /etc/kdump.conf
core_collector makedumpfile -l --message-level 1 -d 31
# kdumpctl restart
kexec: unloaded kdump kernel
Stopping kdump: [OK]
Detected change(s) in the following file(s):
/etc/kdump.conf
Rebuilding /boot/initramfs-4.18.0-193.el8.x86_64kdump.img
Dump path /var/crash does not exist.
mkdumprd: failed to make kdump initrd
Starting kdump: [FAILED] <-----
- kdump service fails to start if the specified directory path is not present in /etc/kdump.conf
Environment
- Red Hat Enterprise Linux 8
- kexec-tools
- kdump
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.