From owner-freebsd-questions@FreeBSD.ORG Sat Jan 4 15:12:47 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56379621 for ; Sat, 4 Jan 2014 15:12:47 +0000 (UTC) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D1A271878 for ; Sat, 4 Jan 2014 15:12:46 +0000 (UTC) Received: from [192.168.1.35] (host86-150-242-158.range86-150.btcentralplus.com [86.150.242.158]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id s04FCbkj092766 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 4 Jan 2014 15:12:37 GMT (envelope-from frank2@fjl.co.uk) Message-ID: <52C824E5.5010200@fjl.co.uk> Date: Sat, 04 Jan 2014 15:12:37 +0000 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9.0-RELEASE and jails References: <52C7FA94.5020207@bsdbox.co> In-Reply-To: <52C7FA94.5020207@bsdbox.co> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 15:12:47 -0000 On 04/01/2014 12:12, nano wrote: > My VPS runs 9.0-RELEASE, which is making jail setup difficult (for me). > > I could only ezjail-admin install 8.4-RELEASE because I could not find > the 9.0-RELEASE base.txz anywhere. This made updating the basejail > nigh impossible because it was trying to update host kernel version > (9.0-RELEASE) when the jail world was 8.4-RELEASE. I thought I would > give qjail a try, but so far am unable to even install a basejail with > that utility. > > I've only ever administered jails with ezjail, so am in need of some > help. What are my options to get a couple (up-to-date) jails setup on > this host? Thanks. > Funnily enough, I never got on with ezjail and I just configure them with a few lines in rc.conf. I believe that ezjail is useful if you have a high number of jails running, and you want to manage them. If you only have a few and can edit a text file. The handbook Chapter 15 has all the information you need; possibly a bit too much! The concept is that you just make a directory, copy what you want to in it (like all the files on a live FreeBSD system), add a few lines describing it to rc.conf (i.e. the name, directory and IP address you want to pass through) and "run" it using "jail". Yes, you can do an buildworld+installworld if you want to get the environment in that way but it's just a bunch of files. I'm happily running "images" of earlier FreeBSD systems in jails on later ones - the main box I use for this happens to be 9.0 running 7.x and 8.x systems. I can't see what you're trying to do with ezjail, but I don't know ezjail at all well. Feel free to email me directly if you have a specific problem.