When using fence_kdump, module-setup will create a kdump.conf with fence_kdump_nodes. The node name comes from the cluster xml, which may use the hostname alias. Later in kdump stage, "fence_kdump_send alias_1 alias_2" sends out notification to peers. Hence it requires /etc/hosts and nsswitch.conf to make alias work.
Signed-off-by: Pingfan Liu piliu@redhat.com --- dracut-module-setup.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index c0f1a88..7505e81 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -703,6 +703,8 @@ kdump_configure_fence_kdump () { kdump_install_net $node done
+ dracut_install /etc/hosts + dracut_install /etc/nsswitch.conf dracut_install $FENCE_KDUMP_SEND }