NetBSD Problem Report #49975

From www@NetBSD.org  Tue Jun 16 00:25:56 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 41060A57FD
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 16 Jun 2015 00:25:56 +0000 (UTC)
Message-Id: <20150616002554.E1D56A65BC@mollari.NetBSD.org>
Date: Tue, 16 Jun 2015 00:25:54 +0000 (UTC)
From: vchaves@ymail.com
Reply-To: vchaves@ymail.com
To: gnats-bugs@NetBSD.org
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
>Organization:
>Environment:
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

>Description:
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


                  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                  x   Select DNS server                      x
                  x                                          x
                  x>a: google-public-dns-a.google.com (IPv4) x
                  x b: google-public-dns-b.google.com (IPv4) x
                  x c: google-public-dns-a.google.com (IPv6) x
                  x d: google-public-dns-b.google.com (IPv6) x
                  x e: other                                 x
                  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


 The following are the values you entered.

 DNS Domain:             vbox.lab
 Host Name:              netbsd7
 Nameserver:             8.8.8.8
 Primary Interface:      wm0
 Media type:             autoselect
 Host IP:                10.0.2.15
 Netmask:                255.255.255.0
 IPv4 Gateway:           10.0.2.2
 IPv6 autoconf:
                              lqqqqqqqqqqqqqqqqqk
                              x Are they OK?    x
                              x                 x
                              x>a: Yes          x
                              x b: No           x
                              mqqqqqqqqqqqqqqqqqj



    lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
    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
    mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


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



>How-To-Repeat:
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
>Fix:
When the DHCP server does not offer this information, create the /etc/resolv.conf file with the server selected in the menu

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Tue, 16 Jun 2015 05:50:14 +0000
Responsible-Changed-Why:
take


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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