From owner-freebsd-stable Fri May 31 13: 3: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.27in.tv (roc-24-169-198-248.rochester.rr.com [24.169.198.248]) by hub.freebsd.org (Postfix) with ESMTP id C8FEF37B401 for ; Fri, 31 May 2002 13:02:59 -0700 (PDT) Received: (from root@localhost) by mail.27in.tv (8.12.3/8.11.6) id g4VK2wc8033572; Fri, 31 May 2002 16:02:58 -0400 (EDT) (envelope-from cjm2@earthling.net) Received: from 27in.tv (localhost [127.0.0.1]) by mail.27in.tv (8.12.3/8.11.6av) with SMTP id g4VK2uTI033562; Fri, 31 May 2002 16:02:56 -0400 (EDT) (envelope-from cjm2@earthling.net) Received: from 216.153.201.118 (SquirrelMail authenticated user cjm2) by www.27in.tv with HTTP; Fri, 31 May 2002 16:02:57 -0400 (EDT) Message-ID: <2432.216.153.201.118.1022875377.squirrel@www.27in.tv> Date: Fri, 31 May 2002 16:02:57 -0400 (EDT) Subject: dhclient on ro filesystems [Was: 4.6-RELEASE delayed] From: "C J Michaels" To: In-Reply-To: References: <200205311652.g4VGq5YV004136@intruder.bmah.org> <200205311832.g4VIW8IY091328@whizzo.transsys.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , X-Mailer: SquirrelMail (version 1.3.0 [CVS-DEVEL]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hajimu UMEMOTO said: > Hi, > >>>>>> On Fri, 31 May 2002 14:32:08 -0400 >>>>>> "Louis A. Mamakos" 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