[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)
Hi Max & others,
Can the state of this PR be switched from 'feedback' please (maybe back to 'open' if there isn't a more suitable status)? I keep getting "NetBSD Problem Report awaiting feedback" reminder emails, even though I have already responded that the suggested workaround doesn't resolve the issue.
As per my previous email, the workaround doesn't work on NetBSD 7 releases including 7_STABLE, because ifaddrs() was introduced AFTER NetBSD 7 was branched.
Thanks for the update Max, however judging from the manual pages, "ifaddrs()" has only been introduced in NetBSD 8, so it doesn't resolve this issue for NetBSD 7.
Using the static address lists are fine for my purposes, provided that the boot process can ensure that DHCP addresses are assigned BEFORE npf is started.
Enabling the dhcpcd "waitip" option (which requires the patch I backported from -current) means that dhcpcd will wait for the DHCP addresses to be assigned before continuing the boot process, and so resolves this issue on NetBSD 7.
Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6
State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000
Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static
lists, ifaddrs() is a dynamic list.
Main Index |
Thread Index |