[Bug 253166] net/dhcpcd: no interfaces have a carrier (during boot)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Oct 2021 12:00:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253166

--- Comment #18 from roy@marples.name ---
So just as long as *any* address of each family exists on the loopback
interface, dhcpcd works.
I can replace 127.0.0.1/8 with 1.2.3.4/32 in the above hack and it works.

The addition of any IPv4 address also has the side effect of bringing the
interface up and adding IPv6 addresses.

What gets more interesting is I can remove the address I just added and it
fails again, but only for that address family.
Even more down the rabbit hole, I can add the address to em0 (not lo0) and it
works!

This smells of a kernel bug in FreeBSD somewhere which is checking to see if
the host has an address assigned of the family before allowing the opening of
the any address socket.

-- 
You are receiving this mail because:
You are the assignee for the bug.