FreeBSD Security Advisory FreeBSD-SA-14:31.ntp

Darren Pilgrim list_freebsd at bluerosetech.com
Wed Jan 7 19:17:49 UTC 2015


On 1/7/2015 10:50 AM, Dag-Erling Smørgrav wrote:
> Leif Pedersen <bilbo at 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?


More information about the freebsd-security mailing list