Bug 168314 - bsdinstall(8): 9.0 install "live CD" option can't create resolv.conf
Summary: bsdinstall(8): 9.0 install "live CD" option can't create resolv.conf
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bugmeister
URL:
Keywords: install
Depends on:
Blocks:
 
Reported: 2012-05-24 20:10 UTC by Michael W Lucas
Modified: 2025-06-28 15:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael W Lucas 2012-05-24 20:10:05 UTC
Boot system from CD. Choose "Live CD".

Root is mounted read-only. /etc/resolv.conf is a symlink to
/tmp/bsdinstall_etc/resolv.conf. The directory /tmp/bsdinstall_etc
does not exist.

You must manually create /tmp/bsdinstall_etc/. Seems this directory
should be created by the live CD?

Fix: 

mkdir /tmp/bsdinstall_etc at some point in the live CD startup.
How-To-Repeat: 
Run dhclient. Interface gets an IP address. resolv.conf is not
created, so no DNS. If you manually create & populate the
/tmp/bsdinstall_etc/resolv.conf
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-02-28 09:30:14 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-sysinstall

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:10 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2025-01-20 06:23:59 UTC
^Triage: does this problem still exist on recent versions of FreeBSD?
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2025-06-18 00:18:08 UTC
^Triage: feedback timeout (> 3 months).
Comment 5 devnull freebsd_committer freebsd_triage 2025-06-28 15:09:24 UTC
Re: comment 0

/tmp/bsdinstall_etc

* exists as an empty directory when going live after booting 
  FreeBSD-15.0-CURRENT-amd64-20250626-dca2ab32e831-278235-bootonly.iso

/tmp/bsdinstall_etc/resolv.conf

* exists with a valid configuration after the automatic network configuration 
  routine in bsdinstall (with DHCP)

* exists, but lacks configuration after auto network configuration if the 
  installer is restarted – bug 262262 comment 9, bug 287878 comment 1.