Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266982 - net-misc/networkmanager-0.7.0 does not respect dhclient.conf
Summary: net-misc/networkmanager-0.7.0 does not respect dhclient.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 15:50 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2009-04-27 08:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix dhclient.conf location for gentoo (networkmanager-0.7.0-gentoo-dhclient.patch,1.01 KB, patch)
2009-04-21 15:51 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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