Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2019 14:42:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240539] tuntap: Getting "ifconfig: ioctl SIOCSIFNAME (set name): File exists" from `ifconfig tap create name tap0`
Message-ID:  <bug-240539-227-QhCkXRLk8g@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240539-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240539-227@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=3D240539

--- Comment #1 from Yuri Pankov <yuripv@FreeBSD.org> ---
It makes some sense, actually.  If you don't have any tap devices, `ifconfig
tap create name tap0` would first create 'tap0', and then try to rename it =
to
'tap0' (which, of course, already exists at that time).  There could be a c=
heck
if original and new name are the same, I guess.  Also, you could just creat=
e it
as `ifconfig tap0 create`.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240539-227-QhCkXRLk8g>