Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 16:00:28 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Matthew Seaman <matthew@FreeBSD.org>, freebsd-stable@freebsd.org
Subject:   Re: Dying jail
Message-ID:  <581070AC.4020100@grosbein.net>
In-Reply-To: <591438f4-7ae3-252a-c604-8491787ad9f0@freebsd.org>
References:  <581064BB.1030500@rdtc.ru> <591438f4-7ae3-252a-c604-8491787ad9f0@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?581070AC.4020100>