Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 20:57:33 +0100
From:      Michael Grimm <trashcan@odo.in-berlin.de>
To:        freebsd-jail@freebsd.org, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: How to define the order of starting jails?
Message-ID:  <BE5B509A-9D84-46A3-BADB-E641E6BD51F7@odo.in-berlin.de>
In-Reply-To: <1450639510.27618.8.camel@michaeleichorn.com>
References:  <5D6BA0FE-60E1-4C6B-906B-BB62A1AB9BE8@odo.in-berlin.de> <1450639510.27618.8.camel@michaeleichorn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael B. Eichorn <ike@michaeleichorn.com> wrote
> On Sun, 2015-12-20 at 17:50 +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).
[=E2=80=A6]
>> Thus, I might have overlooked it, is there a way to achieve my goal
>> using jail and jail.conf?
>> Or something else?

> jail(8)'s '*' operates on everything without concern for rc.conf, as
> such jail_list is not respected. Perhaps try something tied to the =
rc.d
> system. Does `service jail restart` do what you are looking for?

Bingo! That made the trick! Thank you very, very much! Cool! That =
command is stopping and starting jails in the order as listed in =
"jail_list". Ok, it isn't stopping jails in the reverse order, but that =
is no big deal, though.

[Arrrgh, I never heard of "service" before (after so many years with =
FBSD) :-( What a shame ...]

Thanks and with kind regards,
Michael






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE5B509A-9D84-46A3-BADB-E641E6BD51F7>