Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2015 11:35:55 -0600
From:      Leif Pedersen <bilbo@hobbiton.org>
To:        =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        "freebsd-security@freebsd.org" <freebsd-security@freebsd.org>
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-14:31.ntp
Message-ID:  <CAK-wPOhjAQQZv1d1-MA=TSCRqG%2BWN=atTfVdCQKtLED%2BejRWJw@mail.gmail.com>
In-Reply-To: <86tx09gj1m.fsf@nine.des.no>
References:  <20141223233310.098C54BB6@nine.des.no> <86h9wln9nw.fsf@nine.des.no> <549A5492.6000503@grosbein.net> <868uhx43i5.fsf@nine.des.no> <20141226200838.DE83DACE@hub.freebsd.org> <8661cy9jim.fsf@nine.des.no> <20141231195427.AECE022B@hub.freebsd.org> <86y4plgjnm.fsf@nine.des.no> <86tx09gj1m.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 2, 2015 at 11:59 AM, Dag-Erling Sm=C3=B8rgrav <des@des.no> wrot=
e:

> $ sudo env UNAME_r=3DX.Y-RELEASE freebsd-update -b /path/to/jail fetch
> install


I use freebsd-update enthusiastically, but I hadn't noticed the -b option
before. I'm glad you mentioned it. I've always run freebsd-update inside of
each jail, unnecessarily downloading everything repeatedly.

It seems like -b doesn't work for upgrades though, unless I've missed
something. Your example is for "fetch install", but naturally I
extrapolated that it should work for "upgrade" also. Should one of the
following work? My host has already been upgraded to 10.1 because it seems
to me that upgrading the host first is required since a new kernel will
support old userlands, but not necessarily the reverse (which I infer from
the standard instructions to do installkernel before installworld). In this
case, my jail is simply an independent directory; no nullfs magic or
anything.

# env UNAME_r=3D10.1-RELEASE freebsd-update -b /j/test upgrade
freebsd-update: Release target must be specified via -r option.


Or:

# freebsd-update -b /j/test -r 10.1 upgrade
freebsd-update: Cannot upgrade from 10.1-RELEASE to itself


- Leif


--=20

As implied by email protocols, the information in this message is
not confidential.  Any middle-man or recipient may inspect, modify,
copy, forward, reply to, delete, or filter email for any purpose unless
said parties are otherwise obligated.  As the sender, I acknowledge that
I have a lower expectation of the control and privacy of this message
than I would a post-card.  Further, nothing in this message is
legally binding without cryptographic evidence of its integrity.

http://bilbo.hobbiton.org/wiki/Eat_My_Sig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK-wPOhjAQQZv1d1-MA=TSCRqG%2BWN=atTfVdCQKtLED%2BejRWJw>