Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2020 03:28:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 238326] Kernel crash on jail stop (VIMAGE/VNET)
Message-ID:  <bug-238326-29815-mOjIlcDTeR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238326-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238326-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238326

--- Comment #9 from pprocacci@gmail.com ---
exec.prestop   =3D "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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238326-29815-mOjIlcDTeR>