Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 12:50:02 -0700 (PDT)
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/18583: [PATCH] DHCP should be able to override hostname.
Message-ID:  <200005161950.MAA42134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/18583; it has been noted by GNATS.

From: Brooks Davis <brooks@one-eyed-alien.net>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: obrien@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: conf/18583: [PATCH] DHCP should be able to override hostname.
Date: Tue, 16 May 2000 12:42:37 -0700

 On Tue, May 16, 2000 at 09:28:19PM +0200, Sheldon Hearn wrote:
 > Hmm, not something I thought of, nor something I have a simple solution
 > for. :-)
 
 Garrett Wollman pointed me in the right direction.  My latest hack
 should avoid offending people that way, though I suppose it might offend
 ISC. ;-)
 
 > I _do_ think that dhclient-script needs to be taught a way to prevent
 > the spamming of /etc/resolv.conf, but I'm pretty sure that's not going
 > to solve _this_ problem. :-)
 
 With my rc.conf variable lookup function this should be pretty simple.  I
 just looked at the script again and noticed that what's in there now is
 quite bogus.  The function for creating resolv.conf files is never used
 and resolv.conf files are created two slightly different ways.  If the
 function were used all the time the simple solution would be to check
 for something like "dhcp_update_resolv" not being set to no before
 spamming the file.
 
 -- Brooks
 
 -- 
 Any statement of the form "X is the one, true Y" is FALSE.
 


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?200005161950.MAA42134>