Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2013 21:11:45 +0300
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        KIRIYAMA Kazuhiko <kiri@pis.elm.toba-cmt.ac.jp>
Cc:        stable@FreeBSD.org
Subject:   Re: Vimage Jail kernel crashed
Message-ID:  <20130504181144.GD70992@gmail.com>
In-Reply-To: <201305041341.r44DfknO029532@pis.elm.toba-cmt.ac.jp>
References:  <201305040552.r445qNB3023430@pis.elm.toba-cmt.ac.jp> <20130504120710.GB70992@gmail.com> <201305041341.r44DfknO029532@pis.elm.toba-cmt.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 04, 2013 at 10:41:46PM +0900, KIRIYAMA Kazuhiko wrote:

> > If you still prefer pf, you may try destroying epair interface before
> > destroying vnet, e.g. using prestop rc.d/jail hooks instead of
> > poststop, if it is possible.
> 
> In particular, execute following sequence?
> 
> # ifconfig epairXa destroy
> # ifconfig bridge0 deletem epairXa

Yes, but in the revers order, delete from the bridge first. It is
about lines like these in your configuration:

 export jail_web_exec_poststop0="ifconfig bridge0 deletem epair4a"
 export jail_web_exec_poststop1="ifconfig epair4a destroy"

The crash happened when executing ifconfig epair destroy. 

You might want to try running commands manually before using the rc
script.

-- 
Mikolaj Golub



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