named and jail startup race condition
freebsd at qeng-ho.org
Fri Nov 6 14:56:54 UTC 2015
On 06/11/2015 13:28, Andrea Venturoli wrote:
> On 11/06/15 14:01, Arthur Chance wrote:
>>> 127.0.0.1 is lo1's address, which is the interface/IP of the jail.
>> I presume that should have been 127.0.1.1
> Sure, sorry for the typo.
>>> _ preconfigure lo1 in rc.conf?
>> That's what I do
> I'll try this way.
> otherwise if you have more than one jail which one
>> creates the interface?
> I thought I'd use one jail per interface, altough I didn't try this yet.
The problem with that is you'll hit the same problem for each interface.
OK, there's nothing wrong with having
cloned_interfaces="lo1 lo2 lo3 ..."
in your /etc/rc.conf but it gets a bit tedious. I put all my jails on
lo1 with 127.1.*.* addresses and use a firewall to control what can talk
Moore's Law of Mad Science: Every eighteen months, the minimum IQ
necessary to destroy the world drops by one point.
More information about the freebsd-questions