Re: dhcpcd 7.0.5 not noticing downed interfaces?
Roy Marples
Fri Jun 15 08:17:31 2018
Hi Jason
On 15/06/2018 00:03, Jason A. Donenfeld wrote:
With <= 7.0.4, when I'd take an interface down, it'd remove the
address, routes, and call resolvconf -d. With 7.0.5, it doesn't seem
to notice this anymore. I'll poke around a bit more to try and isolate
this, but FYI, in case anyone else has noticed this too.
That's OS dependent.
On NetBSD, IP addresses don't send on the wire when carrier goes down
and validate themselves (ARP, ND, etc) when the carrier comes back.
Thanks to the kernel doing this, dhcpcd does not need to remove the
addresses (and thus routes) when the carrier goes down.
This means that client side applications don't behave a LOT better if
the carrier flips a bit - like say on a wireless network.
Because of this, I failed to spot my error :(
Anyway, fixed here:
https://roy.marples.name/git/dhcpcd.git/commit/?id=51caa872dd050a8b2d368fdee67b95111f3ea5e6
Let me know if that fixes it!
I'm not sure I have enough free time to push out a new build until next
week though.
Roy
Archive administrator: postmaster@marples.name