NetBSD Problem Report #46483

From reed@reedmedia.net  Sun May 27 00:32:29 2012
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id E1C6863B88D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 May 2012 00:32:28 +0000 (UTC)
Message-Id: <11726-1338074808@reedmedia.net>
Date: Sat, 26 May 2012 18:26:49 -0500
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.NetBSD.org
Subject: need targetroot/etc/resolv.conf for pkgin install
X-Send-Pr-Version: 3.95

>Number:         46483
>Category:       install
>Synopsis:       need targetroot/etc/resolv.conf for pkgin install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 27 00:35:00 +0000 2012
>Last-Modified:  Wed Jul 25 20:45:01 +0000 2012
>Originator:     reed@reedmedia.net
>Release:        NetBSD 6.0_BETA2
>Organization:
>Environment:


>Description:
The /targetroot/etc/resolv.conf does not exist so can't
run pkg_add in the chroot to install pkgin.

My workaround was to suspend sysinst and copy it.
>How-To-Repeat:

>Fix:


>Audit-Trail:
From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46483: need targetroot/etc/resolv.conf for pkgin install
Date: Sun, 27 May 2012 09:18:25 -0700

 On 5/26/12 5:35 PM, reed@reedmedia.net wrote:
 >> Description:
 > The /targetroot/etc/resolv.conf does not exist so can't
 > run pkg_add in the chroot to install pkgin.
 >
 > My workaround was to suspend sysinst and copy it.
 >

 Can you provide the install steps you took (and the method used for 
 install) prior to encountering this problem?  I haven't encountered it 
 in my usage, so I want to make sure I'm testing the correct path.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/46483: need targetroot/etc/resolv.conf for pkgin
 install
Date: Wed, 25 Jul 2012 15:40:17 -0500 (CDT)

 On Sun, 27 May 2012, Jeff Rizzo wrote:

 >  Can you provide the install steps you took (and the method used for 
 >  install) prior to encountering this problem?  I haven't encountered it 
 >  in my usage, so I want to make sure I'm testing the correct path.

 I hit this problem multiple times.

 I just followed common steps.  The networking was previously enabled 
 because it retrieved sets over the network which I think used 
 /etc/resolv.conf and not /targetroot/etc/resolv.conf.

 Sorry I didn't provide the steps yet.

>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.