Dying jail

Eugene Grosbein eugen at grosbein.net
Wed Oct 26 09:00:36 UTC 2016


On 26.10.2016 15:45, Matthew Seaman wrote:

> One tip I've found is *not* to specify the JID number in jail.conf, and
> just let the system allocate a new one as it feels necessary.  If you've
> scripting that uses the JID to operate on a specific jail, it's easy to
> substitute the jail name instead.

Thank you for the tip. I've renamed the section in /etc/jail.conf
to start with non-numeric symbol and "service jail start" successfully
started my jail assigning it JID 1 this time. Now "jls -d" shows me two
jails having same IP address and path but distinct JIDs.



More information about the freebsd-stable mailing list