NetBSD Problem Report #49975

From  Tue Jun 16 00:25:56 2015
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 41060A57FD
	for <>; Tue, 16 Jun 2015 00:25:56 +0000 (UTC)
Message-Id: <>
Date: Tue, 16 Jun 2015 00:25:54 +0000 (UTC)
Subject: sysinst fails to copy /etc/resolv.conf
X-Send-Pr-Version: www-1.0

>Number:         49975
>Category:       install
>Synopsis:       sysinst fails to copy /etc/resolv.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 16 00:30:00 +0000 2015
>Last-Modified:  Tue Jun 16 05:50:14 +0000 2015
>Originator:     Vicente Chaves de Melo
>Release:        netbsd-7
NetBSD  7.0_BETA NetBSD 7.0_BETA (GENERIC) #0: Sun Jun 14 00:25:32 UTC 2015  vchaves@netbsd7.vbox.lab:/home/vchaves/netbsd-7/obj/sys/arch/amd64/compile/GENERIC amd64

In an environment where the DHCP server does not offer a name server
the sysinst fails to copy the/etc/resolv.conf file even after the google server be chosen.
 Your host name: netbsd7
 Your DNS domain: vbox.lab

                  x   Select DNS server                      x
                  x                                          x
                  x>a: (IPv4) x
                  x b: (IPv4) x
                  x c: (IPv6) x
                  x d: (IPv6) x
                  x e: other                                 x

 The following are the values you entered.

 DNS Domain:             vbox.lab
 Host Name:              netbsd7
 Primary Interface:      wm0
 Media type:             autoselect
 Host IP:      
 IPv4 Gateway: 
 IPv6 autoconf:
                              x Are they OK?    x
                              x                 x
                              x>a: Yes          x
                              x b: No           x

    x Is the network information you entered accurate for this machine    x
    x in regular operation and do you want it installed in /etc?          x
    x                                                                     x
    x>a: Yes                                                              x
    x b: No                                                               x

Status: Command failed
Command: /bin/cp /etc/resolv.conf /targetroot/etc/resolv.conf
 Hit enter to continue
cp: /etc/resolv.conf: No such file or directory

Try installing NetBSD using sysinst, select the option to configure the network using DHCP in an environment where the DHCP server does not offer a name server
When the DHCP server does not offer this information, create the /etc/resolv.conf file with the server selected in the menu



Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-When: Tue, 16 Jun 2015 05:50:14 +0000


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.