Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 11:17:32 -0800
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>,  Leif Pedersen <bilbo@hobbiton.org>
Cc:        "freebsd-security@freebsd.org" <freebsd-security@freebsd.org>
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-14:31.ntp
Message-ID:  <54AD864C.8070302@bluerosetech.com>
In-Reply-To: <86d26qe87l.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> <CAK-wPOhjAQQZv1d1-MA=TSCRqG%2BWN=atTfVdCQKtLED%2BejRWJw@mail.gmail.com> <86d26qe87l.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/7/2015 10:50 AM, Dag-Erling Smørgrav wrote:
> Leif Pedersen <bilbo@hobbiton.org> writes:
>> It seems like -b doesn't work for upgrades though,
>
> Yes, it does.
>
>>      # env UNAME_r=10.1-RELEASE freebsd-update -b /j/test upgrade
>>      freebsd-update: Release target must be specified via -r option.
>
> This doesn't work because you didn't specify the target.
>
>>      # freebsd-update -b /j/test -r 10.1 upgrade
>>      freebsd-update: Cannot upgrade from 10.1-RELEASE to itself
>
> This doesn't work because you didn't specify the correct starting point.
> You have to set UNAME_r to what the jail is currently running.

Is that to say

`env UNAME_r=A.B-RELEASE freebsd-update -b /jail/path -r C.D-RELEASE 
upgrade`

is the correct command?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54AD864C.8070302>