From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 21:46:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 530215F8 for ; Mon, 8 Jun 2015 21:46:41 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF0E01DAC for ; Mon, 8 Jun 2015 21:46:40 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from desk8.phess.net ([95.88.11.237]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Mdr7l-1YhWgF1iFJ-00PZzN for ; Mon, 08 Jun 2015 23:46:38 +0200 From: Patrick Hess To: freebsd-questions@freebsd.org Subject: Re: jails Date: Mon, 08 Jun 2015 23:46:37 +0200 Message-ID: <3311782.n9oG808xge@desk8.phess.net> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE; KDE/4.14.2; i386; ; ) In-Reply-To: <5575E4DC.1060204@fjl.co.uk> References: <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:X6bRy2mgWEpgokQ4sk1rPAntjbCdYngsGbeR5lMpXmmAIQhogHL dL6uDhNL281AeMsVjm69S24587+xOyyWSI57eVQtOxKajN3dJf0petCE9+Od3nvLkMlAsbU JRYOeSUXBM1jD9+wvW+fzOK1NfOjv1xfLKZX2dFDufxZGVSWxUCXJxYqd07dpZ81ttKcSyR Mwe9GsDl/P9RFPMQoPvTQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 21:46:41 -0000 Frank Leonhardt wrote: > In reality you can just copy all the files from a working FreeBSD > installation in to the directory of your choice, call it an jail and > it will probably run quite happily, assuming its binary compatible. > This is fantastically useful. Indeed, that's also one of my favorite features of jails. Just take anything that even remotely looks like a base system, make a copy of it, and there's your brand new jail. I usually grab myself a base.txz, like those really fresh ones you can find on ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ that still have that nice new car smell to them, extract it to a new directory, and then create a few basic configuration files (rc.conf, resolv.conf, etc.). That's really all there is to it. But there's definitely more than one way to do it, that's the beauty. Just pick the method you feel most comfortable with. Patrick