Re: Some questions about jails on FreeBSD9.0-RC1

看板FB_stable作者時間14年前 (2011/10/26 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/11 (看更多)
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.) _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1Ef_Q0iC (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1Ef_Q0iC (FB_stable)