From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 28 13:50:07 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 8297116A420 for ; Tue, 28 Feb 2006 13:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5130043D46 for ; Tue, 28 Feb 2006 13:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1SDo6nD061135 for ; Tue, 28 Feb 2006 13:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1SDo63W061134; Tue, 28 Feb 2006 13:50:06 GMT (envelope-from gnats) Date: Tue, 28 Feb 2006 13:50:06 GMT Message-Id: <200602281350.k1SDo63W061134@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Cc: Subject: Re: misc/93940: [patch] dhclient-script writes in /etc which should be in /tmp X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 13:50:07 -0000 The following reply was made to PR misc/93940; it has been noted by GNATS. From: Giorgos Keramidas To: Nick Hibma Cc: bug-followup@freebsd.org Subject: Re: misc/93940: [patch] dhclient-script writes in /etc which should be in /tmp Date: Tue, 28 Feb 2006 15:45:47 +0200 On 2006-02-28 13:20, Nick Hibma wrote: > dhclient-script writes into /etc/resolve.conf.std instead of in > /tmp. If you mount the root partition read-only on a soekris > (embedded system) you cannot do this and the script will > (silently) fail and not set resolv.conf at all. This is probably silly, but since dhclient will eventually *have* to write `/etc/resolv.conf' isn't it safe to assume that it can also write to `/etc/resolv.conf.std'? Unless, of course, the `/etc/resolv.conf' file is a symlink somewhere else I guess...