Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2020 11:58:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 248172] if_tuntap(4): OpenVPN configuring tun/tap devices ends up with IFDISABLED interfaces
Message-ID:  <bug-248172-7501-TDfoZc0RsD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248172-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248172-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248172

--- Comment #20 from Gert Doering <gert@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}" =3D "${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 invol=
ve
telling users "you must change your rc.conf to make openvpn+ipv6 work relia=
bly
for you" (they might actually have "on all interfaces" disabled on purpose).

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248172-7501-TDfoZc0RsD>