Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2016 12:48:37 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        DTD <doug@safeport.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: ezjail problem
Message-ID:  <582B4A75.9030806@gmail.com>
In-Reply-To: <alpine.BSF.2.00.1611141423580.76845@bucksport.safeport.com>
References:  <alpine.BSF.2.20.1611141146040.57705@fledge.watson.org> <582A02DC.2020100@gmail.com> <alpine.BSF.2.00.1611141423580.76845@bucksport.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
DTD wrote:
> On Mon, 14 Nov 2016, Ernie Luzar wrote:
> 
>> doug wrote:
>>> I am using ezjail-3.4.2. Changing the jail dir as defined by 
>>> ezjail_jaildir in /usr/local/etc/ezjail.conf does not work. Install 
>>> does not honor this change. This is easy enough to get around with a 
>>> symlink. Am I missing something here?
>>>
>>> There is no option to construct the base jail without a buildworld 
>>> having been done. Is there a technical reason for this?
>>>
>>> Thanks as always for any thought.
>>>
>>> DougD
>>>
>>
>> If I read your post correctly, you want to change the default 
>> directory location for basejail. IIRC ezjail has a default config file 
>> where you can change the default basejail location. First change this 
>> file and then issue the install option to generate the basejail from 
>> the RELEASE version that matches what your running on the host.
>>
>> If that is not what you are trying to do then you have to post a 
>> better description of what your trying to do.
> 
> Mistake was all mine. I had a dumb error in changing ezjail.conf. Thanks.
> 
> My other question remains. Does having the jail have (potentially) a 
> different userland than the host provide some functionality? I have 
> always assumed the entire system needed to be updated at the same time. 
> In any case the userland can/should not be a different release.
> 
> 

The ezjail basejail should contain the same RELEASE level as the host.
But will still work if sub-release is different between host and basejail.
The individual jails just contain the ports you have installed and can 
be kept and used across sub-releases [ie; 10.0, 10.1, 10.3] but when 
crossing a major release such as going from 9.x to 10.x or 10.x to 11.x 
ports need to be updated in the individual jails or recreate the jail 
and populate with desired ports.

I use qjail and find it more user friendly.






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