From owner-freebsd-stable@freebsd.org Wed Aug 26 06:30:26 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E6519BFA23 for ; Wed, 26 Aug 2015 06:30:26 +0000 (UTC) (envelope-from estartu@ze.tum.de) Received: from io.ze.tum.de (w3projmail.ze.tum.de [129.187.39.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA2F9DDF for ; Wed, 26 Aug 2015 06:30:24 +0000 (UTC) (envelope-from estartu@ze.tum.de) Received: from etustar.ze.tum.de (etustar.ze.tum.de [IPv6:2001:4ca0:2e03::16:1]) (authenticated bits=0) by io.ze.tum.de (8.14.5/8.14.5) with ESMTP id t7Q6UGZC086712 for ; Wed, 26 Aug 2015 08:30:16 +0200 (CEST) (envelope-from estartu@ze.tum.de) Subject: Re: freebsd-update to 10.2-RELEASE broken ? To: freebsd-stable@freebsd.org References: <2C3CC22D-749A-4B92-885C-D73311997050@gid.co.uk> <20150816180715.GM40589@home.opsec.eu> From: Gerhard Schmidt X-Enigmail-Draft-Status: N1110 Message-ID: <55DD5CF8.3000908@ze.tum.de> Date: Wed, 26 Aug 2015 08:30:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150816180715.GM40589@home.opsec.eu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2015 06:30:26 -0000 Am 16.08.2015 um 20:07 schrieb Kurt Jaeger: > Hi! > > [bob wrote] >> [ck wrote] >>> I have been trying to update several of my FreeBSD 10.1 amd64 >>> VM to 10.2-RELEASE with freebsd-update and have been failing with >>> an incorrect hash error. > >> FWIW I had the same issue yesterday on a couple of systems. >> Repeating freebsd-update worked after two or three goes. > > I've seen the same problem on several hosts and discussed it by mail > with gjb@. > > We assumed that I have a DNS problem because of this line: > >> Looking up update.FreeBSD.org mirrors... none found. > > This happens with this query inside the freebsd-update script, at > line 950: > > host -t srv _http._tcp.update.FreeBSD.org I think there is also a problem with freebsd-update. [root@miraculix ~]# freebsd-update upgrade -r 10.2-RELEASE Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 10.1-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. ^C [root@miraculix ~]# host -t srv _http._tcp.update.FreeBSD.org _http._tcp.update.freebsd.org has SRV record 1 40 80 update6.freebsd.org. _http._tcp.update.freebsd.org has SRV record 1 35 80 update4.freebsd.org. _http._tcp.update.freebsd.org has SRV record 1 30 80 update2.freebsd.org. _http._tcp.update.freebsd.org has SRV record 1 5 80 update3.freebsd.org. _http._tcp.update.freebsd.org has SRV record 1 50 80 update5.freebsd.org. freebsd-update reporting no mirrors found but the host command returns mirrors. The problem seams to be the sed -nE "s/${MLIST} (has SRV record|server selection) //p" MLIST is _http._tcp.update.FreeBSD.org but sed doesn't match any of the lines from the host command. Replaceing the servername with the lowercase variant matches every line. There is not DNS Problem but a case sensitivity problem in freebsd-update Regards Estartu -- --------------------------------------------------------------------------- Gerhard Schmidt | http://www.augusta.de/~estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | JabberID: estartu@augusta.de | on request Germany | |