Date: Thu, 19 Jan 2006 09:58:36 GMT From: Peter <pb@ludd.luth.se> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/91993: dhclient option missing, script incompability Message-ID: <200601190958.k0J9waco067397@www.freebsd.org> Resent-Message-ID: <200601191000.k0JA0FoQ080472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91993 >Category: bin >Synopsis: dhclient option missing, script incompability >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 19 10:00:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Peter >Release: FreeBSD 6.0/i386 >Organization: >Environment: FreeBSD gw 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: In FreeBSD 5.4/i386 (and older) dhclient have an option '-r' which is now missing. No equalient is found. >From 5.4 dhclient manpage: The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. Also the script functionality in '/etc/dhclient-enter-hooks' is incompatible due that old resolver config update function used the name make_resolv_conf(), while the new one use add_new_resolv_conf(). End result being that old replacement hooks won't work. I use a predefined resolver config. >How-To-Repeat: >Fix: kill -9 <pid..> will partially do the same as the option '-r'. Below /etc/dhclient-enter-hooks will workaround incompability bugs with resolver: make_resolv_conf() { /bin/cp -pf /config/resolv.conf.luth /etc/resolv.conf } add_new_resolv_conf() { make_resolv_conf } Provided that admin is aware of it.. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601190958.k0J9waco067397>