Skip site navigation (1)Skip section navigation (2)
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:   misc/43494: wish: resolv.conf created (again) later in the processes after /var is known to be present
Message-ID:  <200209292211.g8TMBmKf022605@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         43494
>Category:       misc
>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 15:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209292211.g8TMBmKf022605>