From owner-freebsd-jail@FreeBSD.ORG Wed Feb 13 05:09:06 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B192D89F; Wed, 13 Feb 2013 05:09:06 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from m2.gritton.org (gritton.org [199.192.164.235]) by mx1.freebsd.org (Postfix) with ESMTP id 8882EAB1; Wed, 13 Feb 2013 05:09:03 +0000 (UTC) Received: from glorfindel.gritton.org (c-174-52-130-157.hsd1.ut.comcast.net [174.52.130.157]) (authenticated bits=0) by m2.gritton.org (8.14.5/8.14.5) with ESMTP id r1D591ok070158; Tue, 12 Feb 2013 22:09:02 -0700 (MST) (envelope-from jamie@FreeBSD.org) Message-ID: <511B1FED.7000500@FreeBSD.org> Date: Tue, 12 Feb 2013 22:09:01 -0700 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120129 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org Subject: Re: problem stoping jails with jail(8), jail.conf and mount.fstab References: <511A55F9.4080205@omnilan.de> In-Reply-To: <511A55F9.4080205@omnilan.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 05:09:06 -0000 On 02/12/13 07:47, Harald Schmalzbauer wrote: > Hello, > > on 9.1-R, I highly appreciate the new jail(8) and jail.conf > capabilities. Thanks for that extension! > > But I have one problem: If I want to stop a jail with 'jaill -r > jailname', I get "umount: unmount of /.jail.jailname failed: Device busy" > > It seems to me that the order of fstab.jailname entries are not reverted > by jail(8) when shutting down/umounting. > My C skills don't allow me to verify/fix that in usr.sbin/jail/command.c > > Can anybody help please? > > Thanks, > > -Harry Yes, that's a serious drawback. I'll work something up for that. - Jamie