From owner-freebsd-bugs Sun Sep 29 15:20: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E2BD37B401 for ; Sun, 29 Sep 2002 15:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4097743E6E for ; Sun, 29 Sep 2002 15:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TMK2Co002833 for ; Sun, 29 Sep 2002 15:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8TMK2Pv002832; Sun, 29 Sep 2002 15:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9708B37B401 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/43494: wish: resolv.conf created (again) later in the processes after /var is known to be present Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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