[Bug 238326] Kernel crash on jail stop (VIMAGE/VNET)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 8 03:28:13 UTC 2020


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

--- Comment #9 from pprocacci at gmail.com ---
exec.prestop   = "ifconfig ${epair}b -vnet $name";

Before adding the above, it would kernel panic every single time.

The key is removing the vnet interface from the jail prior to shutting the jail
down so the VNET cleanup code essentially has no interface to worry about.

If you're working on some sort of shell script; on the host you'd:

# ifconfig interface_name_inside_of_jail -vnet $jail_name_or_id

.... and then proceed to kill off the jail.  It shouldn't panic any more in
relation to the VNET cleanup code.

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


More information about the freebsd-jail mailing list