Date: Sun, 20 Dec 2015 16:37:17 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-jail@freebsd.org Subject: Re: How to define the order of starting jails? Message-ID: <56771F8D.4040004@freebsd.org> In-Reply-To: <BE5B509A-9D84-46A3-BADB-E641E6BD51F7@odo.in-berlin.de> References: <5D6BA0FE-60E1-4C6B-906B-BB62A1AB9BE8@odo.in-berlin.de> <1450639510.27618.8.camel@michaeleichorn.com> <BE5B509A-9D84-46A3-BADB-E641E6BD51F7@odo.in-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RM0BJ24XUHMD9ilTF82A6nhXEiDjlCIR7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-12-20 14:57, Michael Grimm wrote: > Michael B. Eichorn <ike@michaeleichorn.com> wrote >> On Sun, 2015-12-20 at 17:50 +0100, Michael Grimm wrote: >=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). > [=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? >=20 >> 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? >=20 > Bingo! That made the trick! Thank you very, very much! Cool! That comma= nd 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. >=20 > [Arrrgh, I never heard of "service" before (after so many years with FB= SD) :-( What a shame ...] >=20 > Thanks and with kind regards, > Michael >=20 >=20 >=20 > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"= >=20 '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 --=20 Allan Jude --RM0BJ24XUHMD9ilTF82A6nhXEiDjlCIR7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWdx+WAAoJEBmVNT4SmAt+B/AQAIWJYny0UCX3sdujwmupiTYV 21s4Kfc3JQQvFERHaSXf/rvmwxQkURlL1gzJ4SYIpC3pHB4wOs1ttDS+hP1NP3x6 t8yeUecqqfWa5YMIlQpVfhzUcQzXKmf5zQKnHStEZljExcHMIQaQkxHVCtSZbF7H N5UP9wBbNbI1JcDfErM1F7MTTwuT54yW27RHfoGH1Krw/0fm6QGzl6lTBXKIE97j E7PiCCVpDS1gE+J6PvMXwSb9hnHT1x6+S87BXnSY92EI9PBd8baWRxLgV1Kd+AZu I2+kK+l938mdk17bX4V97yqlP6oVmIzHiUoG4gIpOeqqs5kvtXJUhyUWaSjFHKe9 EBTC1oUjoN+fqFBWtyVoszykPOts8UvuZVoop6kuzPF0mROVKZHkcpBeqUXy1bep yPVzONB2uA2iK20m9AwTGKl0R3ORqPcsAk5QBLo9TiTx8TEd0j8fyogoA8YqDzyO Nvx4X/TKPSVDbtPpgrGGRbCkQLRF1jOsNOwPCembR76eP2rLUNVcidfCZM86Qmtd NQiBoigdwZTkikA2EzG/hpCMB8LfsVO5Y6mWhco9QTQGltyCH6gM4ElKva6RYQ+Z 7j5eLigFUbZiE1SFhgArtcVzGf98oAoM1ekRO3wwpm8Pby6ys2OxgFEp8WoABiIt ptmQNaJcjT1HOnGBYJwq =h4a4 -----END PGP SIGNATURE----- --RM0BJ24XUHMD9ilTF82A6nhXEiDjlCIR7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56771F8D.4040004>