Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186358 - net-misc/dhcdbd-2.8 does not work with dhcp-3.1.0 (and thus NetworkManager stops working too)
Summary: net-misc/dhcdbd-2.8 does not work with dhcp-3.1.0 (and thus NetworkManager st...
Status: RESOLVED DUPLICATE of bug 185888
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 19:06 UTC by Jonas
Modified: 2007-07-23 19:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas 2007-07-23 19:06:49 UTC
Due to the new "-x" flag for dhclient the D-Bus interface dhcdbd stops working and in turn NetworkManager fails to recieve an IP via DHCP.

Important log messages:
NetworkManager: <info>  DHCP daemon state is now 12 (successfully started) for interface eth0
NetworkManager: <info>  DHCP daemon state is now 14 (normal exit) for interface eth0

To fix this, dhcdbd has to be compiled with the CFLAG option:
-DDHCLIENT_EXTENDED_OPTION_ENVIRONMENT=0

To fix the bug, add this to dhcdbd-2.8-r1.ebuild:
src_compile() {
        emake RPM_OPT_FLAGS="-DDHCLIENT_EXTENDED_OPTION_ENVIRONMENT=0 " || die
}

Note:
The RPM_OPT_FLAGS sets extra CFLAGS within the Makefile of dhcdbd.

After adding this (and re-emerging/restarting dhcdbd), everything works fine again.


Reproducible: Always

Steps to Reproduce:
1. Install net-misc/dhcp-3.1.0 when using net-misc/networkmanager-0.6.5 and net-misc/dhcdbd-2.8-r1
2. Try to recieve an IP via DHCP with NetworkManager
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-23 19:07:42 UTC

*** This bug has been marked as a duplicate of bug 185888 ***