From nobody@FreeBSD.org  Sun Sep 29 15:11:48 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9708B37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:11:48 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3F35443E42
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:11:48 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TMBm7R022606
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Sep 2002 15:11:48 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g8TMBmKf022605;
	Sun, 29 Sep 2002 15:11:48 -0700 (PDT)
Message-Id: <200209292211.g8TMBmKf022605@www.freebsd.org>
Date: Sun, 29 Sep 2002 15:11:48 -0700 (PDT)
From: Dirk-Willem van Gulik <dirkx@wewbeaving.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wish: resolv.conf created (again) later in the processes after /var is known to be present
X-Send-Pr-Version: www-1.0

>Number:         43494
>Category:       conf
>Synopsis:       wish: resolv.conf created (again) later in the processes after /var is known to be present
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 15:20:01 PDT 2002
>Closed-Date:    Wed Mar 02 04:28:23 GMT 2005
>Last-Modified:  Wed Mar 02 04:28:23 GMT 2005
>Originator:     Dirk-Willem van Gulik
>Release:        5-Current
>Organization:
WebWeaving
>Environment:
FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jul  1 11:24:18 CEST 2002     dirkx@foem.leiden.webweaving.org:/usr/src/sys/i386/compile/FOEM  i386  
>Description:
Right now the only 'writable' in /etc is resolv.conf. Which is accessed by rc.diskless1 or rc/initdiskless. 

During diskless boot and RO boot from flash one may want to map it 'out' of there using for example a sym link to /var/tmp or /var/run in order not to be forced to do a 4Mb overlay in memory of /etc. 

However the writable versions of these do at that point not yet exist.

So it would be nice to either detect this early and/or later in the process again try to create a /etc/resolv.conf when /var is known to exist.
>How-To-Repeat:
      Its a whish :-)
>Fix:
      Not sure.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: brooks 
State-Changed-When: Wed Mar 2 04:14:54 GMT 2005 
State-Changed-Why:  
What exactly do you want to see happen?  I think we could delay running 
the etc/rc.d/resolv until after var is run, but I'm not sure we can delay 
rc.d/netif until then. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43494 
State-Changed-From-To: feedback->closed 
State-Changed-By: brooks 
State-Changed-When: Wed Mar 2 04:27:41 GMT 2005 
State-Changed-Why:  
PR isn't concrete enough to do anything with and submitters e-mail bounces. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43494 
>Unformatted:
