From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 04:49:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B3416A401 for ; Thu, 5 Apr 2007 04:49:36 +0000 (UTC) (envelope-from don.munyak@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8C513C459 for ; Thu, 5 Apr 2007 04:49:36 +0000 (UTC) (envelope-from don.munyak@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so528467ana for ; Wed, 04 Apr 2007 21:49:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gcpYrmdzLTeW5G6/+mKzSFsXN8m6F+Ivh5VsoLzDBAGZrZI3em1QPnONOy0mWj1EzvPRAk5mpXTw+1KsVMqsDsQri2KTiWaMX4athdtdl2DrlTtbU3lwdhH1B/5lnt06xTlFoKNzzMgU2DEZWcynUzIpc7yiI0p6LYIjEtEhIzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cfwJFHYlLunHENnsa43o9ARzmdtU73j4jRf3Zfj+TEZ5eKJL6R6BDxvMhKLvi7s/xvmBpsP2twc+lDMsyYtmtpiBcPdWkVhQJrVkoZGGr7XB5HJFAx03nRqT/B3h7mC4d9zZ+RlKl4r37d+uf7bYzjC2nC3U9liwszelw3J26Sw= Received: by 10.100.37.4 with SMTP id k4mr1034687ank.1175748575920; Wed, 04 Apr 2007 21:49:35 -0700 (PDT) Received: by 10.100.10.13 with HTTP; Wed, 4 Apr 2007 21:49:35 -0700 (PDT) Message-ID: <6207f7d90704042149y5543e654i9dae8507b3c927ef@mail.gmail.com> Date: Thu, 5 Apr 2007 00:49:35 -0400 From: "Don Munyak" To: Dave In-Reply-To: <003e01c7771c$1892ec20$0200a8c0@satellite> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <003e01c7771c$1892ec20$0200a8c0@satellite> Cc: freebsd-questions@freebsd.org Subject: Re: ezjail on FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2007 04:49:36 -0000 Hello Dave...responses below On 4/4/07, Dave wrote: > Hello, > Is anyone running ezjail on 6.2? Yes, 6.2-stable GENERIC. At install time I created a separate partition for, /usr/jails which makes it default to the ezjail-admin create jail default location. > I've got to set up three similar jails > and i'd like to run them off of one base. I'd like to create a jail flavor, > where one jail has file x while the others do not. My limited understanding of Flavours...These are like templates to quick rebuild or create 'like' jail containers. While your maybe similiar, what x is (and how big) may make them different. > Two problems i'm having > with flavors is one adding packages such as shells Got me here. Something I need to learn as well. > , and two adding users and > giving them the shells just added? I would think the adding users could either be done from an ssh session into a running jail, or using # jexec JID adduser. I'm not sure how to do the shells, except to say that I know I read somewhere...where you can setup/change the default shell, then for each new user added, they would get this profile. > I'd also like it if i could mount my host > system's ports tree in the jail itself, so i wouldn't have to get multiple > copies of the ports tree. The only way i've found thus far of doing this is > via nullfs on the base system and was wondering if there was an easier > method of doing this? Now this one I know can be done a couple of different ways. First is in the FAQ. The other is in a post I just made last week for the same reason. I read man ezjail-admin. Just issue the following # ezjail-admin update -p. This will update existing ezjails to have access to the host ports tree. From within a running jail, when you type # cd /usr/ports, your will really be going to /basejail/usr/ports. pkg_add -r and make/make install clean all work fine. Ezjail also has a list you can join, if interested...although it is not very active. Responses are reasonably quick, given the support is free :) Regards Don