Subject: | dhclient-script ignores name-servers/domain-search in stateless DHCPv6 mode (-S) |
Date: | Mon, 26 May 2014 15:16:44 +0200 |
To: | dhcp-bugs@isc.org |
From: | Jiri Popelka <jpopelka@redhat.com> |
Hello,
# dhclient -6 -S
actually doesn't work on linux because the dhclient-script never gets to
applying the obtained name-servers/domain-search because it exits due to
if [ x$reason = xRENEW6 ] || [ x$reason = xREBIND6 ] ; then
if [ x${new_ip6_address} = x ] || [ x${new_ip6_prefixlen} = x ] ; then
exit_with_hooks 2;
fi
because the $new_ip6_address is empty in stateless DHCPv6 mode.
see also the original bug report
https://bugzilla.redhat.com/show_bug.cgi?id=1101149
and attached patch.
With regards,
Jiri Popelka
Red Hat, inc.
Message body is not shown because sender requested not to inline it.