Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 16:02:57 -0400 (EDT)
From:      "C J Michaels" <cjm2@earthling.net>
To:        <ume@mahoroba.org>
Cc:        <louie@transsys.com>, <freebsd-stable@freebsd.org>
Subject:   dhclient on ro filesystems [Was: 4.6-RELEASE delayed]
Message-ID:  <2432.216.153.201.118.1022875377.squirrel@www.27in.tv>
In-Reply-To: <ygeg008taqm.wl@mille.mahoroba.org>
References:  <200205311652.g4VGq5YV004136@intruder.bmah.org> <200205311832.g4VIW8IY091328@whizzo.transsys.com> <ygeg008taqm.wl@mille.mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO said:
> Hi,
>
>>>>>> On Fri, 31 May 2002 14:32:08 -0400
>>>>>> "Louis A. Mamakos" <louie@TransSys.COM> said:
>
> louie> You can't configure the "update /etc/resolv.conf" behavior, so I
> had louie> to manually edit the /sbin/dhclient-script to resolve this
> issue.

I ran the exact same problem about a week ago.  In retro-spect I should
have put in a PR (sorry about that).  I'll try and put one together this
weekend if there isn't already one.  (Did you submit one Louie?)

>
> You can re-define make_resolv_conf() in /etc/dhclient-enter-hooks to
> don't update /etc/resolv.conf.  Please refer dhclient-script(8)
> manpage.

While this would be a short-term fix.  This problem should be treated as a
bug.  If /etc/resolv.conf isn't writable, dhclient should print an error
and exit (previous behavior).  Not get stuck in an infinite loop,
requesting a new lease every ~5 seconds.

>
> Sincerely,
>
> --
> Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
> ume@mahoroba.org  ume@bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
> http://www.imasy.org/~ume/
>
-- 
Chris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2432.216.153.201.118.1022875377.squirrel>