From owner-freebsd-stable@FreeBSD.ORG Wed Oct 26 12:07:56 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 9766E1065674 for ; Wed, 26 Oct 2011 12:07:56 +0000 (UTC) (envelope-from legolas@legolasweb.nl) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by mx1.freebsd.org (Postfix) with ESMTP id 52B308FC14 for ; Wed, 26 Oct 2011 12:07:56 +0000 (UTC) Received: from [212.54.42.133] (helo=smtp2.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RJ1vX-0000Oi-Ub for freebsd-stable@freebsd.org; Wed, 26 Oct 2011 13:45:47 +0200 Received: from 5357e90f.cm-6-8d.dynamic.ziggo.nl ([83.87.233.15] helo=homey.local) by smtp2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RJ1vW-0007yl-7Y for freebsd-stable@freebsd.org; Wed, 26 Oct 2011 13:45:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 26 Oct 2011 13:45:45 +0200 From: Stas Verberkt To: Message-ID: X-Sender: legolas@legolasweb.nl User-Agent: Roundcube Webmail/0.6 X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1RJ1vW-0007yl-7Y X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-4.341, vereist 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, CM_REPLY_NOARROW 0.30, PROLO_TRUST_RDNS -3.00, RDNS_DYNAMIC 0.98, SPF_SOFTFAIL 0.20, TW_ZJ 0.08) X-ZiggoSMTP-MailScanner-From: legolas@legolasweb.nl X-Spam-Status: No Subject: Fwd: 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 12:07:56 -0000 On 26.10.2011 10:33, carlopmart wrote: > 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 $ I think the installing of the new world is not included. (Thus, the part after the first reboot when doing a freebsd-update to 9.0-RC1 on the host system.)