misc/93940: [patch] dhclient-script writes in /etc which should be in /tmp

Giorgos Keramidas keramida at freebsd.org
Tue Feb 28 05:50:07 PST 2006


The following reply was made to PR misc/93940; it has been noted by GNATS.

From: Giorgos Keramidas <keramida at freebsd.org>
To: Nick Hibma <nick at anywi.com>
Cc: bug-followup at 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 <nick at anywi.com> 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...
 


More information about the freebsd-bugs mailing list