Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2010 15:40:04 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        remko@freebsd.org
Cc:        jail@freebsd.org
Subject:   Re: starting jails in the background & dependencies
Message-ID:  <20100305154004.00007805@unknown>
In-Reply-To: <20100105112447.00005e71@unknown>
References:  <20091207080353.66241t4vpmnmrilc@webmail.leidinger.net> <20100105112447.00005e71@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Jan 2010 11:24:47 +0100 Alexander Leidinger
<Alexander@Leidinger.net> wrote:

> On Mon, 07 Dec 2009 08:03:53 +0100 Alexander Leidinger
> <Alexander@Leidinger.net> 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.



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