From owner-freebsd-jail@freebsd.org Sun Dec 20 21:20:18 2015 Return-Path: Delivered-To: freebsd-jail@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 01B49A4DADE; Sun, 20 Dec 2015 21:20:18 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:d:3049:1:1:0:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C51C81C0F; Sun, 20 Dec 2015 21:20:17 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:45:4845:fc01:8d4a:3ac1:149c:b4b] (p200300454845FC018D4A3AC1149C0B4B.dip0.t-ipconnect.de [IPv6:2003:45:4845:fc01:8d4a:3ac1:149c:b4b]) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 3pNxfR4xzmzHpr; Sun, 20 Dec 2015 22:20:15 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: How to define the order of starting jails? From: Michael Grimm In-Reply-To: <567719BE.9060309@passap.ru> Date: Sun, 20 Dec 2015 22:20:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <387681DB-6F5B-4226-B9DE-64F65A3A57E8@ellael.org> References: <5D6BA0FE-60E1-4C6B-906B-BB62A1AB9BE8@odo.in-berlin.de> <567719BE.9060309@passap.ru> To: freebsd-jail@freebsd.org, freebsd-questions X-Virus-Scanned: clamav-milter 0.99 at mail.mer-waases.invalid X-Virus-Status: Clean X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2015 21:20:18 -0000 Boris Samorodov wrote: >=20 > 20.12.15 19:50, Michael Grimm =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 >> 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).=20 >=20 > AFAIK ezjails start jails in reverse natural (by name) order and stops > in natural order... So I used to name a jail to be started first as > "zz..." one. ezail does the following: # To specify the start up order of your ezjails, use these lines = to # create a Jail dependency tree. See rcorder(8) for more = details. # # PROVIDE: mail # REQUIRE: dns # BEFORE:=20 [defined in /usr/local/etc/ezjail/mail] But that isn't available any longer, if one goes for "/etc/jail.conf" = and "jail", instead. Regards, Michael=