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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 May 2023 21:46:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271474

--- Comment #4 from Joshua Kinard <freebsd@kumba.dev> ---
(In reply to matthias+freebsd+bugzilla from comment #3)
I started and stopped the jail multiple times using the normal commands and it
destroyed tap0 and recreated tap0 each time as long as I had the VM fully
destroyed.  Could be a race-like condition and so not easily triggerable.  I
may try again later tonight or tomorrow to see if I can re-create it, and may
also re-try on my production appliance.

FWIW, I use cloned_interfaces to create the bridge interface, too, but I have
learned to list bridge interfaces last in that variable after all member
interfaces have been created, and that does seem to avoid some issues that I
saw on one of my other appliances.

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