From owner-freebsd-stable@FreeBSD.ORG Wed Oct 26 08:33:28 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375EF1065744 for ; Wed, 26 Oct 2011 08:33:28 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD2AD8FC08 for ; Wed, 26 Oct 2011 08:33:27 +0000 (UTC) Received: by wyi40 with SMTP id 40so1822941wyi.13 for ; Wed, 26 Oct 2011 01:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=73qP4qv70qCo8/Tr+l3E2bhq2YMx3eiTS3j1LNyKiJA=; b=qPRjBzMb0dSh+Cp3uAOhO/r3zWmILrWet2+XatfA1YAdegwPxIs8JiPIQ86DbQqeC1 DgZH3Fwmn7/+U33HWeN8bc8QDwal1ZW5q5REMY4ixQaVXlgOr2DV9T1e3y4Wn2hXuMGw /OTDG55W6lE+PeNQhNLFCKNoKqQbZ1lH5z5WY= Received: by 10.227.198.203 with SMTP id ep11mr8485997wbb.0.1319618006620; Wed, 26 Oct 2011 01:33:26 -0700 (PDT) Received: from silmaril.hpulabs.org (46.Red-88-24-104.staticIP.rima-tde.net. [88.24.104.46]) by mx.google.com with ESMTPS id ek13sm1751886wbb.3.2011.10.26.01.33.24 (version=SSLv3 cipher=OTHER); Wed, 26 Oct 2011 01:33:25 -0700 (PDT) Message-ID: <4EA7C5D2.6030408@gmail.com> Date: Wed, 26 Oct 2011 10:33:22 +0200 From: carlopmart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110929 Red Hat/3.1.15-1.el6_1 Lightning/1.0b2 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4EA721A7.8050905@gmail.com> <20111026031202.2a8780f9@davenulle.org> <4fc99dc86557581cab3484babb368572.squirrel@webmail.pcextreme.nl> <4EA7BBF9.3@gmail.com> <9fefbda9bf6d16437fc7ad6c5445fe12.squirrel@webmail.pcextreme.nl> In-Reply-To: <9fefbda9bf6d16437fc7ad6c5445fe12.squirrel@webmail.pcextreme.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Some questions about jails on FreeBSD9.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2011 08:33:28 -0000 On 10/26/2011 10:09 AM, legolas@legolasweb.nl wrote: >> On 10/26/2011 08:09 AM, legolas@legolasweb.nl wrote: >>> >>>>> I have setup one jail using ezjail. My first surprise is that >>>>> ezjail only installs -RELEASE versions and not RC versions. Ok, I >>>>> supouse that it is normal. But my first question is: can I install a >>>>> FreeBSD 8.2 jail under a FreeBSD 9.0 host?? >>> >>> I have upgraded my ezjails using something like: >>> env UNAME_r="8.2-RELEASE" freebsd-update -b /usr/jails/basejail -r >>> 9.0-RC1 >>> upgrade install >>> >>> This is some hassle, for example, one has to upgrade /etc and /var in >>> /usr/jails/newjail by hand. (And maybe even more, not completely sure >>> there.) >>> >> >> is not possible to update the jail using "ejzail-admin update -u" >> instead of use freebsd-update directly?? >> > Updating can be done, upgrading not. (Thus, a security update can be done, > a full version not, if I understand it correctly.) > > This functionality exists (prematurely) in CVS: > https://erdgeist.org/cvsweb/ezjail/ezjail-admin.diff?r1=1.263&r2=1.264&f=h > Me too ... But downloading latest ezjail-admin code from cvs: 885 # Make the host systems os version our target version 886 # Users can override this by setting the UNAME_r environment variable 887 ezjail_osversion_target="`uname -r`" 888 889 # Finally run freebsd-update to upgrade our basejail 890 env UNAME_r="${ezjail_osversion_source}" freebsd-update -b ${ezjail_jailbase} -r ${ezjail_osversion_target} upgrade install If I am not wrong, it is possible to do a full upgrade between releases, right?? ezjail-admin cvs's version is 1.269: # $Id: ezjail-admin,v 1.269 2011/07/27 11:20:32 erdgeist Exp $ -- CL Martinez carlopmart {at} gmail {d0t} com