Date: Mon, 23 Sep 2002 16:52:46 -0400 (EDT) From: Brad Laue <brad@brad-x.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/43307: dhclient sends DHCPDECLINE if /etc/resolv.conf is schg Message-ID: <20020923205246.2C87422104A@TMA-1.brad-x.com>
next in thread | raw e-mail | index | archive | help
>Number: 43307 >Category: bin >Synopsis: dhclient sends DHCPDECLINE if /etc/resolv.conf is schg >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 23 14:00:11 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Brad Laue >Release: FreeBSD 4.6-STABLE i386 >Organization: brad-x.com >Environment: System: FreeBSD TMA-1.brad-x.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 5 16:15:45 EDT 2002 root@TMA-1.brad-x.com:/usr/src/sys/compile/DISCOVERY-IPF i386 >Description: /sbin/dhclient-script returns an error code to the 'dhclient' program itself if it is not successful in executing its make_resolv_conf() function. This results in dhclient sending a DHCPDECLINE message to the DHCP server, and leaving the system in question with no usable IP address. This can occur in situations where root is not able to write to the resolv.conf file, such as a read-only filesystem or schg flags appended to the file itself. This will by filed with the vendor of dhclient itself, but a local fix would be a good idea in the interim. >How-To-Repeat: chflags schg /etc/resolv.conf ; dhclient >Fix: The make_resolv_conf() function must provide a non-fatal exit option when it cannot complete successfully. >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?20020923205246.2C87422104A>