Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2020 21:07:17 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        David Mehler <dave.mehler@gmail.com>
Cc:        freebsd-jail <freebsd-jail@freebsd.org>
Subject:   Re: vnet jail shutdown crashes system
Message-ID:  <CACNAnaGR6sDzDsuzN1BbPnPN76DhA9mVLOf2nsXBQnoNzGCuXQ@mail.gmail.com>
In-Reply-To: <CAPORhP57h6yoDZF%2B3h2kLApN-hLmedPfX819LJW8Ec2A7DNW_A@mail.gmail.com>
References:  <CAPORhP57h6yoDZF%2B3h2kLApN-hLmedPfX819LJW8Ec2A7DNW_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 7, 2020 at 8:59 PM David Mehler <dave.mehler@gmail.com> wrote:
>
> Hello,
>
> I've finally created a vnet jail on FreeBSD 12.1 that will get out to
> the internet. Whenever I atempt to shut it down the system crashes, I
> have no idea why.
>
> [... snip ...]
>
> I wish I knew why stopping this jail takes the whole system down,
> suggestions welcome.

Without seeing a panic message, this is almost certainly the ol' epair
teardown problem. I'm working toward a solution for it, but I'm still
needing to get people to review the prerequisite change to add a busy
mechanism to ifnet so that we can coordinate correctly.

You can work around it by destroying the epair interface visible there
on the host before you destroy the jail (and perhaps there's a better
way), though that's not necessarily ideal if you need networking to
work through a graceful shutdown.

Thanks,

Kyle Evans



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