Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 13:37:32 -0400
From:      Mike Wayne <FreeBSD_jail@wayne47.com>
To:        freebsd-jail@freebsd.org
Subject:   Re: Ezjail
Message-ID:  <20200430173732.GB42597@post.wayne47.com>
In-Reply-To: <CY4PR19MB1655A8F8F7595F67BCD4F4CDF9AA0@CY4PR19MB1655.namprd19.prod.outlook.com>
References:  <CY4PR19MB1655A8F8F7595F67BCD4F4CDF9AA0@CY4PR19MB1655.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 30, 2020 at 03:30:59PM +0000, Brandon helsley wrote:

> I installed and updated base jail with ezjail and then like the
> example in the handbook, created dnsjail with it's ip. I'm now
> needed to change the jail file in ezjail directory to a different
> ip address. What do I change it to and how do I do this? Can I get
> any help? Please?

I'm glad you got an answer to this question but ezjail has a lot
of issues that do not look like they are going to be resolved anytime
soon. In particular, upgrading a binary installed jail created with
ezjail is not supported. Which means that once a jail is installed
with ezjail on a system without source code, it will likely NEVER 
be updated. 

I developed an entire system to deal with solving that specific
problem but it's clunky, messy and very fragile. While I was seeking
advice on some of the nuances involved, I exchanged email with
several very helpful people.

As a result, my suggestion is to use qjail instead of ezjail. It
DOES support updates on hosts & jails that are binary only. The
documentation is well above average and, if you run into complications,
you can get answers.  The one thing that I can not get working with
qjail that ezjail supports (with some hacks) is quotas. If you can
live without quotas and need UFS, qjail is the best solution.

If you are using ZFS (which I cannot), you might consider iocage 
instead. Because it requires ZFS, it's a non-starter for me but
people whose opinion I respect speak highly of it.




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