[Bug 276862] vnet doesnt release iface after running openvpn

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Feb 2024 04:03:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276862

            Bug ID: 276862
           Summary: vnet doesnt release iface after running openvpn
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pmc@citylink.dinoex.sub.org

This problem appeared with 13.3-BETA1, and I could reproduce it with
stable/13-n257197-0efd4b792290 GENERIC

Reproduce:
 - create a vnet jail and a pair of ng_eiface
 - configure one of the eiface als vnet.interface
 - start the jail
 - install openvpn (2.6.8)
 - start the openvon with some config, and terminate it again
 - stop the jail

Normally the vnet.interface should now be back on the host, but now it isnt.

It is possible to move the interface back to the host manually, with ifconfig
-vnet, before stopping the jail.
In either case the jail will never fully terminate, and stay in 'dying' state.

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