From owner-freebsd-bugs Fri May 31 13:20:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C58F037B406 for ; Fri, 31 May 2002 13:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4VKK2d87088; Fri, 31 May 2002 13:20:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 899E537B406 for ; Fri, 31 May 2002 13:13:32 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4VKDWhG072421 for ; Fri, 31 May 2002 13:13:32 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4VKDWHE072420; Fri, 31 May 2002 13:13:32 -0700 (PDT) Message-Id: <200205312013.g4VKDWHE072420@www.freebsd.org> Date: Fri, 31 May 2002 13:13:32 -0700 (PDT) From: C J Michaels To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/38778: dhclient infinite loop on ro /etc/resolv.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38778 >Category: bin >Synopsis: dhclient infinite loop on ro /etc/resolv.conf >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 31 13:20:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: C J Michaels >Release: 4.6-RC >Organization: n/a >Environment: FreeBSD cartman.lan.27in.tv 4.6-RC FreeBSD 4.6-RC #11: Mon May 27 20:45:02 EDT 2002 root@:/usr/local/obj/usr/local/src/sys/CARTMAN i386 >Description: If dhclient is unable to write a new /etc/resolv.conf when it obtains a new lease, it will loop and immediately request a new DHCP lease. This results in an infinte loop where dhclient requests a new lease ~ every 5 seconds. Also, at no time does dhclient print an error message to advise you of what's going on. This is a problem for anyone who either has /etc/ mounted read only, or if /etc/resolv.conf is immutable. Note: this problems seems to have appears around the time of 4.6-RC as my last 4.5-STABLE build didn't have this problem. >How-To-Repeat: chflags schg /etc/resolv.conf; /sbin/dhclient ed0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message