From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 21 14:00:31 2003 Return-Path: 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 A5E2C16A4BF for ; Tue, 21 Oct 2003 14:00:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183F143F85 for ; Tue, 21 Oct 2003 14:00:31 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9LL0UFY043995 for ; Tue, 21 Oct 2003 14:00:30 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9LL0UNI043994; Tue, 21 Oct 2003 14:00:30 -0700 (PDT) (envelope-from gnats) Date: Tue, 21 Oct 2003 14:00:30 -0700 (PDT) Message-Id: <200310212100.h9LL0UNI043994@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dirk-Willem van Gulik Subject: Re: misc/58272: [patch] rc.d/diskless detection, dhcp rebuild X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dirk-Willem van Gulik List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 21:00:31 -0000 The following reply was made to PR misc/58272; it has been noted by GNATS. From: Dirk-Willem van Gulik To: Matt Peterson Cc: FreeBSD-gnats-submit@freebsd.org, dougb@freebsd.org, phk@freebsd.org Subject: Re: misc/58272: [patch] rc.d/diskless detection, dhcp rebuild Date: Tue, 21 Oct 2003 13:50:16 -0700 (PDT) > Actually, we need to re-think this. In our situation (again, not PXE > boot, but CF card mounted read-only), dhclient is currently run after > the diskless script (thus it can't plum the system's resolv.conf, > hostnamed and related). See below... dhclient wants contineous access - so it wil have to live on /var/* or in a /etc overlay which is RW. Our solution has been to let a /etc/resolv.conf be set up as a link from /etc/ - and modify dhclient-script in /sbin to cope with both symlinks and a normal /etc. Dw