Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 10:33:22 +0200
From:      carlopmart <carlopmart@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Some questions about jails on FreeBSD9.0-RC1
Message-ID:  <4EA7C5D2.6030408@gmail.com>
In-Reply-To: <9fefbda9bf6d16437fc7ad6c5445fe12.squirrel@webmail.pcextreme.nl>
References:  <4EA721A7.8050905@gmail.com>	<20111026031202.2a8780f9@davenulle.org>	<4fc99dc86557581cab3484babb368572.squirrel@webmail.pcextreme.nl>	<4EA7BBF9.3@gmail.com> <9fefbda9bf6d16437fc7ad6c5445fe12.squirrel@webmail.pcextreme.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA7C5D2.6030408>