From owner-freebsd-questions@freebsd.org Mon Dec 21 16:16:59 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23B6AA4E60A for ; Mon, 21 Dec 2015 16:16:59 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 756BD1E42 for ; Mon, 21 Dec 2015 16:16:58 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.36]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MOEPQ-1a7lLo0W2O-005bB0 for ; Mon, 21 Dec 2015 17:16:56 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aB38p-0008dp-GR for freebsd-questions@freebsd.org; Mon, 21 Dec 2015 17:16:55 +0100 Date: Mon, 21 Dec 2015 17:16:55 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: How to define the order of starting jails? Message-ID: <20151221161655.GA33124@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <5D6BA0FE-60E1-4C6B-906B-BB62A1AB9BE8@odo.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <5D6BA0FE-60E1-4C6B-906B-BB62A1AB9BE8@odo.in-berlin.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:NrSJELqpvn4S3i/qBLZz+TKlnWGvEqbsRqxKrsLX/5YaUTMRITs wOWgkvCsnoD4PxlCZ6o7j9NjRqjt7wlJqeb7YNCPVObYWVUfgHEWl1972145BDttnzI/GCO QlBY997ZS0Mfwfwmaizvyw4cqMyTv67TCgpYKocGXnwA4EQyNrbRQ8yVku8LTvU5gjt8UIH aUJcJPnWXwqeErMpgS7Qg== X-UI-Out-Filterresults: notjunk:1;V01:K0:vh71hv1qwlw=:8y/YSmyw+a3vJ721gUXrXD KOCL/MMnUeUMWgbVmbSYJXOKj50TWdbTwz6E9j56OG0BKhVYaRCS+XiijdE/uB9ZBLQMVIEn2 /Nf62o3WayitV68SuWNfc6RQMn+e9ab/SPxfBk17aQ48Z0NW8s8a8Qc3i3OSylk7y021cEWUL VDRkYbQjbVC4cAUK5Bb/m6LzDnE3mVgeryLzrF929d9MG+wcvM/cm66xpO1bq7R0DQ6Mky1RG cSVs3H4q6im93e/urmo1xZA4SGATvMbkZLvM9BJ4Dqw9XUMt3VUnhYJDwA3EScbQOmeLetBg3 lgy/UAC1pNSbOTf8BFBQNyX4rnrk8TwQDN/ILZhddgrLNIxyWXr/q/6Emxe9B9egre+HVK4Su wH6BnhTUp/7ovVz2Jn5EG6H3Qognar5ggsJtVkyRr1GsrXaCy2DgUQJS80HAzKKgZlzVH09VF NqatZPb6hPwHDKQtsqho+dyqRXG7CpW9FjEOAMX1ZJ3g711RStrIZJ+y65rwQJKxnK6WxFib8 JV4p/zS9WtPy+6jS1Tt1AWhrBX0ium83CWVnvt3PuUE7vYb6SBeFwAK5gEAYQ+//dVn2n0X6z IBUXbx9/fI1I1h0nuhL+iSDkQv1wkpyUVZwkBx26m58KBV3nKuL6GHaOwZ0845cLZ/1Z4o+Eg XBD3PlFmsd7E5lyqYjqPG07mLgpin9K3HcESl7HhhSGoUCAweYPMLm4Ff3mUhOMapm7Q= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 16:16:59 -0000 Hi, On Sunday, 20. Dec 2015, 17:50:28 +0100, Michael Grimm wrote: > But I am bit stuck in finding a way to start my jails in a > pre-defined order (e.g. first DNS, then mail, =E2=80=A6). Well, I > can achieve that during boot time by using jail_list=3D"dns > mail =E2=80=A6" in rc.conf. But, this is respected during boot > time, *only*. Whenever I do run a "jail -rc '*'" that > shutdown and starting order becomes arbitrary. It doesn't > follow the sequence of my jail definitions in jail.conf, > either. When I hear something about dependencies what first comes into my mind is to map it to a hierarchy, in this case maybe nested jails. Is this approach legitimate or is it too weird? Bertram --=20 Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de