Bug 118449 - sysinstall(8): Installer failing dns lookups
Summary: sysinstall(8): Installer failing dns lookups
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 17:20 UTC by Matt LaPlante
Modified: 2015-11-10 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt LaPlante 2007-12-05 17:20:01 UTC
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.
Comment 1 randi freebsd_committer freebsd_triage 2009-06-06 19:53:42 UTC
Responsible Changed
From-To: freebsd-bugs->randi

Grabbing this.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-06-29 06:52:04 UTC
Responsible Changed
From-To: randi->freebsd-sysinstall

back to mailing list.
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:07:42 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.
Comment 4 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:12:06 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.