[Bug 240539] tuntap: Getting "ifconfig: ioctl SIOCSIFNAME (set name): File exists" from `ifconfig tap create name tap0`

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 12 15:06:03 UTC 2019


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

Kyle Evans <kevans at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevans at freebsd.org

--- Comment #2 from Kyle Evans <kevans at freebsd.org> ---
I've thrown up a review to just let the rename succeed if the name isn't
changing, because I think EEXIST is perhaps misleading:
https://reviews.freebsd.org/D21618

For the "system hang" -- is it just the destroy command that's hanging? Double
check that `ifconfig tap0` doesn't claim "Opened by PID ...", as the
controlling process needs to properly release (close) the tun/tap device before
the interface can be destroyed.

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


More information about the freebsd-net mailing list