How to define the order of starting jails?
Michael Grimm
trashcan at odo.in-berlin.de
Sun Dec 20 19:57:45 UTC 2015
Michael B. Eichorn <ike at 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, …).
[…]
>> 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
More information about the freebsd-jail
mailing list