Date: Thu, 18 Oct 2018 12:40:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232380] freebsd-update: fails to find mirror if nameserver converts update.FreeBSD.org to lowercase Message-ID: <bug-232380-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232380 Bug ID: 232380 Summary: freebsd-update: fails to find mirror if nameserver converts update.FreeBSD.org to lowercase Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: pi@FreeBSD.org This happens on FreeBSD-11.0-p16: # freebsd-update -r 11.2-RELEASE upgrade src component not installed, skipped Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 11.0-RELEASE from update.FreeBSD.org... failed. No mirrors remaining, giving up. The reason is that per default, freebsd-update asks for update.FreeBSD.org, but the nameserver returns it in lower-case: host -t srv _http._tcp.update.FreeBSD.org returns: _http._tcp.update.freebsd.org has SRV record 1 50 80 update1.freebsd.org. _http._tcp.update.freebsd.org has SRV record 1 35 80 update4.freebsd.org. The sed after the host-query only matches upper-case: host -t srv _http._tcp.update.FreeBSD.org | sed -nE "s/_http._tcp.update.FreeBSD.org (has SRV record|server selection) //p"| cut -f 1,2,4 -d ' ' | sed -e 's/\.$//' | sort so it returns a empty list. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232380-227>
