[Bug 271474] Possible to "lose" a tap(4) interface in a jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 May 2023 05:36:46 UTC

Meyser@xenet.de changed:

           What    |Removed                     |Added
                 CC|                            |Meyser@xenet.de

--- Comment #1 from Meyser@xenet.de ---
/etc/rc.d/netif is NOT invoked inside vnetjails. (novnetjail Keyword)
so cloned interfaces are NOT destroyed during shutdown.

After changing exec.stop in /etc/jail.conf to

exec.stop = "/bin/sh /etc/rc.d/netif stop; /bin/sh /etc/rc.shutdown";

cloned interfaces are destroyed before shutdown.

Perhaps this works in your case too.

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