Re: How to define the order of starting jails?

2015-12-20 Thread Ian Smith
On Sun, 20 Dec 2015 22:54:08 +0100, Michael Grimm wrote: > Allan Jude wrote: > > On 2015-12-20 14:57, Michael Grimm wrote: > >> [Arrrgh, I never heard of "service" before (after so many years > >> with FBSD) :-( What a shame ÿÿ] > > 'service' was not introduced until FreeBSD 8, iirc. It is

Re: How to define the order of starting jails?

2015-12-20 Thread Warren Block
On Sun, 20 Dec 2015, dweimer wrote: On 2015-12-20 1:25 pm, Michael B. Eichorn wrote: On Sun, 2015-12-20 at 17:50 +0100, Michael Grimm wrote: Hi — [Background: I wish to run (some of my) ezjail-made jails and VNET which cannot be done by ezjail, natively.] But I found a way to mix both ezjail

Re: How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
Allan Jude wrote: > > On 2015-12-20 14:57, Michael Grimm wrote: >> [Arrrgh, I never heard of "service" before (after so many years with FBSD) >> :-( What a shame …] > 'service' was not introduced until FreeBSD 8, iirc. It is mostly a > redhat thing, but is very handy. No, I am not excused, be

Re: How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
Michael B. Eichorn wrote: > > On Sun, 2015-12-20 at 20:57 +0100, Michael Grimm wrote: >> Michael B. Eichorn wrote: >>> 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 t

Re: How to define the order of starting jails?

2015-12-20 Thread Allan Jude
On 2015-12-20 14:57, Michael Grimm wrote: > Michael B. Eichorn 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 th

Re: How to define the order of starting jails?

2015-12-20 Thread Michael B. Eichorn
On Sun, 2015-12-20 at 20:57 +0100, Michael Grimm wrote: > Michael B. Eichorn 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

Re: How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
Boris Samorodov wrote: > > 20.12.15 19:50, Michael Grimm пишет: > >> But I am bit stuck in finding a way to start my jails in a >> pre-defined order (e.g. first DNS, then mail, …). > > AFAIK ezjails start jails in reverse natural (by name) order and stops > in natural order... So I used to nam

Re: How to define the order of starting jails?

2015-12-20 Thread Boris Samorodov
20.12.15 19:50, Michael Grimm пишет: > 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

Re: How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
dweimer wrote: > On 2015-12-20 1:25 pm, Michael B. Eichorn wrote: >> On Sun, 2015-12-20 at 17:50 +0100, Michael Grimm wrote: [starting sequence definition, how to?] >>> Thus, I might have overlooked it, is there a way to achieve my goal >>> using jail and jail.conf? >>> Or something else? >> ja

Re: How to define the order of starting jails?

2015-12-20 Thread dweimer
On 2015-12-20 1:25 pm, Michael B. Eichorn wrote: On Sun, 2015-12-20 at 17:50 +0100, Michael Grimm wrote: Hi — [Background: I wish to run (some of my) ezjail-made jails and VNET which cannot be done by ezjail, natively.] But I found a way to mix both ezjail and basic jail(8) functionality. It's

Re: How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
Michael B. Eichorn 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.

Re: How to define the order of starting jails?

2015-12-20 Thread Michael B. Eichorn
On Sun, 2015-12-20 at 17:50 +0100, Michael Grimm wrote: > Hi — > > [Background: I wish to run (some of my) ezjail-made jails and VNET > which cannot be done by ezjail, natively.] > > But I found a way to mix both ezjail and basic jail(8) functionality. > It's quite easy to fire up ezjail-made jai

How to define the order of starting jails?

2015-12-20 Thread Michael Grimm
Hi — [Background: I wish to run (some of my) ezjail-made jails and VNET which cannot be done by ezjail, natively.] But I found a way to mix both ezjail and basic jail(8) functionality. It's quite easy to fire up ezjail-made jails defined in jail.conf by jail. And, now I can apply VNET to those