How to define the order of starting jails?

Bertram Scharpf lists at bertram-scharpf.de
Mon Dec 21 16:16:59 UTC 2015


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, …). Well, I
> can achieve that during boot time by using jail_list="dns
> mail …" 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

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


More information about the freebsd-questions mailing list