From nobody@FreeBSD.org  Wed Dec  5 17:12:09 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9FE4E16A421
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2007 17:12:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9198613C448
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2007 17:12:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lB5HC6nb010962
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Dec 2007 17:12:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lB5HC68J010961;
	Wed, 5 Dec 2007 17:12:06 GMT
	(envelope-from nobody)
Message-Id: <200712051712.lB5HC68J010961@www.freebsd.org>
Date: Wed, 5 Dec 2007 17:12:06 GMT
From: Matt LaPlante <cyberdog3k@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installer failing dns lookups
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118449
>Category:       bin
>Synopsis:       sysinstall(8): Installer failing dns lookups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 17:20:01 UTC 2007
>Closed-Date:    
>Last-Modified:  Sat Jun 29 05:55:50 UTC 2013
>Originator:     Matt LaPlante
>Release:        6.3, 7.0, ?
>Organization:
>Environment:
>Description:
I will preface this by saying I am not a regular FreeBSD user, and
although I've had a few successful installations in the past, I'm not
very current on the material.

I recently got the itch to try a new FreeBSD install, and not having a
real purpose for the build, I went for some bleeding edge and grabbed
7.0-BETA3-i386-bootonly.iso.  I went through the standard graphical
install, partitioned disks, selected the package set, and all seemed
well.  When I came to the network portion, I selected no IPv6 and yes
DHCP.  DHCP came up correctly from my LAN DHCP server, and I moved on.
 I picked a mirror that didn't yet have beta3 on it (apparently) and
the download failed.  I went to try again, but the next mirror I tried
wouldn't connect.  Pretty soon, the installer was insisting that it
can't find any domains via dns, and that I should check the network
config.  Well sure enough the network settings are right (not
surprising considering they'd *just* worked, and I hadn't changed
them), my dns server is fine, but the installer won't so much as find
ftp.freebsd.org.

I figure hey, that's what you get for trying beta software, let's try
something a little less radical and maybe it will work.  I opt for the
6.3 RC1 bootonly iso next.  Wouldn't you know it, same results.  If
you don't pick a functional mirror on the first try, suddenly the
installer forgets how to look up hosts in dns.  After rebooting the
installer a few times, I manage to confirm that if I get the right
combo on the first time through the installer (ftp passive,
ftp1.us.freebsd.org worked in this case), things work perfectly.  If I
do something silly like trying http without a proxy, or picking a
mirror that doesn't have the distro or doesn't connect, after one or
two cycles dns lookups magically fail and I have to reboot.  Ironically,
even domain names that work the first time through will start to fail
to resolve after one or two passes.  Sure enough, I went back to my
7B3 disc, and using my winning combo of ftp/passive, ftp1.us, the
install works right off the bat.  (Note that these combinations are
just examples of what works for me, right now.

I'm not suggesting that the connection type or the mirror name is
somehow responsible for things being broken; it's merely for completeness
of story.)

So, the essence of this bug report is this:  If I fail to begin the
installation download on the first couple tries, the installer
habitually becomes unable to resolve dns until a reboot is performed.
This affects at least 6.3 and 7.0, but could go back much further.

>How-To-Repeat:
Run netboot installer, purposefully connect to unavailable or
misconfigured mirrors a few times, then watch as further attempts fail
to resolve dns.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->randi 
Responsible-Changed-By: randi 
Responsible-Changed-When: Sat Jun 6 18:53:42 UTC 2009 
Responsible-Changed-Why:  
Grabbing this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118449 
Responsible-Changed-From-To: randi->freebsd-sysinstall 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 29 05:52:04 UTC 2013 
Responsible-Changed-Why:  
back to mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118449 
>Unformatted:
