On 2015-12-20 14:57, Michael Grimm wrote: > Michael B. Eichorn <i...@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 > > > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org" >
'service' was not introduced until FreeBSD 8, iirc. It is mostly a redhat thing, but is very handy. Re: jail reverse order, there is a patch to address this, and a PR somewhere I think: https://reviews.freebsd.org/D2088 -- Allan Jude
signature.asc
Description: OpenPGP digital signature