From owner-freebsd-stable@FreeBSD.ORG Sat May 4 18:17:23 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6503D475 for ; Sat, 4 May 2013 18:17:23 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by mx1.freebsd.org (Postfix) with ESMTP id F08EE9BF for ; Sat, 4 May 2013 18:17:22 +0000 (UTC) Received: by mail-ee0-f48.google.com with SMTP id d4so1211950eek.35 for ; Sat, 04 May 2013 11:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=+bPmWi8MGY+5uQG2VShj0mqWJgjskAPy6LOQVZb/+mo=; b=YNihm2NyKraxiLDd7xH6xLUpXgrQIrYN0rrtin091hSYVo6Rq4ZskyZIsuj53TJAwQ fLbYUthib0jc8hWUWZedGKoQ7Kh6YnoRcRzf32A7yIjxaEsA//9h7Ip1+0ZuIMHBKWsN ihYscwcc+T9QvMJ5n2FXGh4skSgRx7Nsj7OyyI5rlZsIlgeRwnDxJT1lNPvYHPyZCqU+ d/cfqQolQmKdILUGmao16FeRbAlr79Rc8aIqZss3Snmxp38UypwfmcAm6P7+/hKdnJQN 4mFZgQcfhW4n3AqkbmOCBc+jUn8p4QYMFXOdISjDwDDdI4j0om0n7dATNeBKYG/1RD5T 7bdA== X-Received: by 10.15.82.201 with SMTP id a49mr43853505eez.44.1367691108990; Sat, 04 May 2013 11:11:48 -0700 (PDT) Received: from localhost ([178.150.115.244]) by mx.google.com with ESMTPSA id m48sm22961179eeu.15.2013.05.04.11.11.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 04 May 2013 11:11:48 -0700 (PDT) Sender: Mikolaj Golub Date: Sat, 4 May 2013 21:11:45 +0300 From: Mikolaj Golub To: KIRIYAMA Kazuhiko Subject: Re: Vimage Jail kernel crashed Message-ID: <20130504181144.GD70992@gmail.com> References: <201305040552.r445qNB3023430@pis.elm.toba-cmt.ac.jp> <20130504120710.GB70992@gmail.com> <201305041341.r44DfknO029532@pis.elm.toba-cmt.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201305041341.r44DfknO029532@pis.elm.toba-cmt.ac.jp> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2013 18:17:23 -0000 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