]> code.ossystems Code Review - openembedded-core.git/commit
ifupdown: added -1 option to dhclient for dhcpv6
authorYi Zhao <yi.zhao@windriver.com>
Tue, 27 Jul 2021 04:22:44 +0000 (12:22 +0800)
committerSteve Sakoman <steve@sakoman.com>
Wed, 4 Aug 2021 19:57:23 +0000 (09:57 -1000)
commit6d8bf12bffa146cb51153a79a4b96b05298c4fbf
treefdb844829e6c0a27fe3509f647625a0506ab2aeb
parent10aace6034e4ca3d09d97c4e2046d8eef3078164
ifupdown: added -1 option to dhclient for dhcpv6

When dhclient is used with ifupdown and in the /etc/network/interfaces
file is something like e.g. "iface eth0 inet6 dhcp" the system does not
boot but hangs at the after dhcp configuration of IPv4 at the stage
where IPv6 should be configured.
The reason seems to be, that ifupdown calls the dhclient in a blocking
way which leads to a permanent block of the boot when no DHCPv6 server
is available.
A similar bug in Redhat:
https://bugzilla.redhat.com/show_bug.cgi?id=585047

[YOCTO #14117]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/ifupdown/files/0001-inet6.defn-Added-1-option-to-dhclient-on-upping-an-i.patch [new file with mode: 0644]
meta/recipes-core/ifupdown/ifupdown_0.8.35.bb