Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 03:37:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206355] Installer interferes with manual network setup, preventing netinstall from succeeding
Message-ID:  <bug-206355-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206355

            Bug ID: 206355
           Summary: Installer interferes with manual network setup,
                    preventing netinstall from succeeding
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: venture37@geeklan.co.uk

It appears that the installer makes changes to configuration which result in
network installation failing, either the loss of resolv.conf which means the
hostnames of mirrors cannot be resolved or reseting the routing table, caus=
ing
previously setup routes to be lost.

My scenario is trying to provision virtual machines in an environment where=
 the
allocated IP addresses are also allocated specific MAC addresses. The alloc=
ated
IP addresses are in a different subnet to the IP address of the host, yet I=
SP
expects the use of the same gateway as the host. This means that you have to
setup the routing table manually. So I boot the guest. At the "Welcome to
FreeBSD" menu I choose shell & configure the network, also creating a
resolv.conf. Everything works, I confirm I can connect to a host on the out=
side
via TCP & ping some other hosts.
Exit & choose install
Configure keymap, hostname, distribution select, as I have a minimal ISO, I=
'm
told "No installation files were found on the boot volume" and I move onto =
the
"Network Configuration" section.
Select interface say no to configuring IPv4 or IPv6 & proceed with install =
as
normal, fetching dist files will fail.

When the install has failed, exit & drop back to shell.
netstart -rn will show that routing table is as you configured it but
/etc/resolv.conf has been overwritten by a symlink which nolonger exists
# ls -l /etc/resolv.conf=20
lrwxr-xr-x  1 root  wheel  31 Aug 12 15:45 /etc/resolv.conf ->
/tmp/bsdinstall_etc/resolv.conf

If you restart the install & at the "Network Configuration" section. you say
yes to configuring IPV4 and no to using DHCP. You'll be presented with the
details you entered manually (ip adress, mask, gw). proceeding through the
install will result in again failing to fetch dist files. Dropping to the s=
hell
& running netstat you'll find that your changes to the routing table have b=
een
lost.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206355-8>