kdump fails to generate a vmcore due to a 3rd party script associated with a dracut module
Issue
-
Kdump fails with tons of errors as seen from the serial console logs and the system reboots without generating a vmcore:
[ 40.032352] dracut-initqueue[158]: /lib/dracut/hooks/initqueue/finished/99-xyz.sh: line 40: /sysroot/etc/sysconfig/network: No such file or directory [ 40.097397] dracut-initqueue[158]: /lib/dracut/hooks/initqueue/finished/99-xyz.sh: line 112: /sysroot/etc/hosts: No such file or directory [ 40.119777] dracut-initqueue[158]: /lib/dracut/hooks/initqueue/finished/99-xyz.sh: line 130: /sysroot/etc/hosts: No such file or directory . . [ 60.547173] dracut-initqueue[158]: mount: mount point /sysroot/sys does not exist [ 60.602456] dracut-initqueue[158]: mount: mount point /sysroot/dev does not exist [ 61.658729] SGI XFS with ACLs, security attributes, no debug enabled [ 61.698066] XFS (sda1): Mounting V5 Filesystem [ 62.058000] XFS (sda1): Starting recovery (logdev: internal) [ 62.065816] XFS (sda1): Ending recovery (logdev: internal) [ OK ] Mounted /kdumproot/opt/vs-storage/Disk1. . . [ 436.136863] sd 0:0:1:0: [sdb] Synchronizing SCSI cache [ 436.141000] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 436.181519] Restarting system. [ 436.183478] reboot: machine restart
Environment
- Red Hat Enterprise Linux 7
- Stateless Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.