Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 266982

Summary: net-misc/networkmanager-0.7.0 does not respect dhclient.conf
Product: Gentoo Linux Reporter: Daniel Gryniewicz (RETIRED) <dang>
Component: New packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED FIXED    
Severity: normal CC: dagger, rbu
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=579737
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix dhclient.conf location for gentoo

Description Daniel Gryniewicz (RETIRED) gentoo-dev 2009-04-21 15:50:14 UTC
The default location for NM 0.7 to look for dhclient.conf is /etc/dhclient-<ifname>.conf, which is not where gentoo puts it.  Instead, it should look in /etc/dhcp/dhclient.conf

This fixed the hostname and dns-prepend that's in the einfo.

Patch attached.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-04-21 15:51:49 UTC
Created attachment 189063 [details, diff]
Fix dhclient.conf location for gentoo

Add a TARGET_GENTOO to the dhclient manager, similar to DEBIAN and SUSE.
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-04-21 16:00:52 UTC
Per permission on IRC, this is committed.
Comment 3 Robert Piasek (RETIRED) gentoo-dev 2009-04-22 10:41:45 UTC
Thanks dang. I will have a chat with Dan to push it upstream.
Comment 4 Robert Piasek (RETIRED) gentoo-dev 2009-04-27 08:39:25 UTC
committed upstream (0.7.x and trunk) rev 33547b8d8b64a10187b9c452eef7325d909889a1