From owner-freebsd-security@FreeBSD.ORG Wed Jan 7 19:17:49 2015 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47635CDE for ; Wed, 7 Jan 2015 19:17:49 +0000 (UTC) Received: from luigi.brtsvcs.net (luigi.brtsvcs.net [IPv6:2607:fc50:1000:1f00::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D7D866C30 for ; Wed, 7 Jan 2015 19:17:48 +0000 (UTC) Received: from chombo.houseloki.net (c-71-59-211-166.hsd1.or.comcast.net [71.59.211.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by luigi.brtsvcs.net (Postfix) with ESMTPSA id EBEC52D4FF4; Wed, 7 Jan 2015 19:17:40 +0000 (UTC) Received: from [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29] (unknown [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chombo.houseloki.net (Postfix) with ESMTPSA id 0E323C7A; Wed, 7 Jan 2015 11:17:39 -0800 (PST) Message-ID: <54AD864C.8070302@bluerosetech.com> Date: Wed, 07 Jan 2015 11:17:32 -0800 From: Darren Pilgrim Reply-To: "freebsd-security@freebsd.org" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , Leif Pedersen Subject: Re: FreeBSD Security Advisory FreeBSD-SA-14:31.ntp 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> <86d26qe87l.fsf@nine.des.no> In-Reply-To: <86d26qe87l.fsf@nine.des.no> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-security@freebsd.org" X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 19:17:49 -0000 On 1/7/2015 10:50 AM, Dag-Erling Smørgrav wrote: > Leif Pedersen 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?