[Bug 248172] if_tuntap(4): OpenVPN configuring tun/tap devices ends up with IFDISABLED interfaces

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 23 11:58:31 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248172

--- Comment #20 from Gert Doering <gert at greenie.muc.de> ---
Just for the record: if I insert a "sleep(1)" in the tester.c between the
open() call to /dev/tun0 and the ifconfig statement, *and* insert a "sleep 1"
in pccard_ether between "`ifconfig -ul` and if [ "${uif}" = "${ifn}" ] - then
the time window for the race is wide enough that "it always happens".

Of course it would be great to find a non-racy solution that does not involve
telling users "you must change your rc.conf to make openvpn+ipv6 work reliably
for you" (they might actually have "on all interfaces" disabled on purpose).

But I can already say: thanks for all your help!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list