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 }
On 06/22/18 at 10:34am, Pingfan Liu wrote:
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
}
-- 2.7.4 _______________________________________________ kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org/...
Ack