Currently when action_on_fail is enabled, the emergency_shell won't be called either. In kdump even though user specify the default action as emergency_shell, dracut still skip it. Now change the implementation of action_on_fail to depend on a file which is created by kdump when making kdump initrd, then remove it at the beginning of kdump. This can solve the explicit emergency_shell problem. Signed-off-by: Baoquan He <bhe@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Acked-by: WANG Chao <chaowang@redhat.com>
…
…
Description
Languages
Shell
92.1%
Roff
6.7%
Makefile
1.2%