From owner-freebsd-questions@freebsd.org Tue Nov 15 18:43:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22BADC43E48 for ; Tue, 15 Nov 2016 18:43:30 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE2EB168E for ; Tue, 15 Nov 2016 18:43:29 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id uAFIhR70026943; Tue, 15 Nov 2016 13:43:27 -0500 (EST) (envelope-from doug@safeport.com) Date: Tue, 15 Nov 2016 13:43:27 -0500 (EST) From: DTD To: Ernie Luzar cc: freebsd-questions@FreeBSD.org Subject: Re: ezjail problem In-Reply-To: <582B4A75.9030806@gmail.com> Message-ID: References: <582A02DC.2020100@gmail.com> <582B4A75.9030806@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 15 Nov 2016 13:43:27 -0500 (EST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 18:43:30 -0000 On Tue, 15 Nov 2016, Ernie Luzar wrote: > 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. Thank you, I appreciate your thoughts and experience Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277