Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 13:13:32 -0700 (PDT)
From:      C J Michaels <cjm2@earthling.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/38778: dhclient infinite loop on ro /etc/resolv.conf
Message-ID:  <200205312013.g4VKDWHE072420@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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