From owner-freebsd-questions@freebsd.org Mon Nov 14 20:07:18 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 76A5AC40405 for ; Mon, 14 Nov 2016 20:07:18 +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 4465115B9 for ; Mon, 14 Nov 2016 20:07:17 +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 uAEJjwLA077775; Mon, 14 Nov 2016 14:45:58 -0500 (EST) (envelope-from doug@safeport.com) Date: Mon, 14 Nov 2016 14:45:58 -0500 (EST) From: DTD To: Ernie Luzar cc: freebsd-questions@FreeBSD.org Subject: Re: ezjail problem In-Reply-To: <582A02DC.2020100@gmail.com> Message-ID: References: <582A02DC.2020100@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]); Mon, 14 Nov 2016 14:45:58 -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: Mon, 14 Nov 2016 20:07:18 -0000 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. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277