| Summary: | net-misc/dhcdbd-2.8 does not work with dhcp-3.1.0 (and thus NetworkManager stops working too) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jonas <j> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 185888 *** |
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