From owner-freebsd-jail@FreeBSD.ORG Fri Mar 5 14:40:17 2010 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17D70106566C; Fri, 5 Mar 2010 14:40:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id C3FFB8FC1C; Fri, 5 Mar 2010 14:40:16 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2D45A.dip.t-dialin.net [217.226.212.90]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 78E9584525A; Fri, 5 Mar 2010 15:40:10 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id AE3184F5A; Fri, 5 Mar 2010 15:40:07 +0100 (CET) Date: Fri, 5 Mar 2010 15:40:04 +0100 From: Alexander Leidinger To: remko@freebsd.org Message-ID: <20100305154004.00007805@unknown> In-Reply-To: <20100105112447.00005e71@unknown> References: <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> <20100105112447.00005e71@unknown> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 78E9584525A.54B4E X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1268404811.63065@8jG2Z4S93T2nSoWDBosqTw X-EBL-Spam-Status: No Cc: jail@freebsd.org Subject: Re: starting jails in the background & dependencies X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 14:40:17 -0000 On Tue, 5 Jan 2010 11:24:47 +0100 Alexander Leidinger wrote: > On Mon, 07 Dec 2009 08:03:53 +0100 Alexander Leidinger > wrote: > > > Hi, > > > > now that jails are started in the background (which is good, to > > I just realized yesterday that it also stops in parallel (in the > background). This is bad. It may be the case that a jail is not fully > stopped via the rc scripts when the OS decides to kill the remaining > processes during a shutdown. > > My first reaction is to only allow to start in the background, but > everything else needs to be serialized. I committed now what was discussed in this thread: - no start in the background by default - only start is allowed to happen in background when jail_parallel_start is set to yes in rc.conf - stdin is redirected from /dev/null If someone is not happy about the name of the rc.conf variable: feel free to change it, I do not care about the name. Bye, Alexander.