Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605272 - net-misc/networkmanager: reinstate removed dhcpcd USE flag
Summary: net-misc/networkmanager: reinstate removed dhcpcd USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-10 14:59 UTC by Gordon Bos
Modified: 2017-05-27 22:16 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 Gordon Bos 2017-01-10 14:59:25 UTC
Hate to do this, but as the original issue (Bug 563938) is incorrectly marked as solved it would appear that none of the devs are watching for updates.

The decision to remove the dhcpcd USE flag should not have been made. The cause for the previously filed issue was a specific scenario in which dhcpcd would ignore the alternate hook script parameter on its command line. Apparently nm-applet started accessing that scenario at some point, causing dhcpcd to no longer report back to NetworkManager which in turn assumed a timeout and ran dhcpcd again.

Because the dhcpcd USE flag was removed on account on this single use case scenario I can no longer update NetworkManager. This is because I need a client that can return a fixed fallback address in case there is no DHCP offering and dhcpcd is the only client that sets a valid DHCP return state - which does require a user patch to NetworkManager btw, because the Gnome devs are also not jumping to fix the problem.

Also the special use case scenario that caused the previous issue has been fixed in dhcpcd quite a while ago.
Comment 1 Mart Raudsepp gentoo-dev 2017-01-26 11:16:48 UTC
I removed old versions, and got QA hatemail about unused local USE flag for this, so I have removed it, but here it is for convenience when/if it gets readded with a USE flag, then this or a modified version needs to be added back to metadata.xml:

<flag name="dhcpcd">Use <pkg>net-misc/dhcpcd</pkg> for getting ip</flag>
Comment 2 Gordon Bos 2017-03-31 10:06:22 UTC
This is slowly becoming something of an issue as NetworkManager-1.0.12 source is being dropped by Gentoo mirrors. I have become aware that there is an overlay that has dhcpcd reinstated on NetworkManager-1.4.4-r1 (Bug 607352) and not experiencing any issues, but I'd rather not add numerous overlays that may override other packages as well. Is there any reason why mainstream is still prohibiting users to access this package configure option?
Comment 3 Mike Gilbert gentoo-dev 2017-05-27 22:16:07 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd67d47439df7224a8600779996ede787c18b8f5

commit cd67d47439df7224a8600779996ede787c18b8f5
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat May 27 18:14:49 2017 -0400

    net-misc/networkmanager: restore dhcpcd support
    
    Bug: https://bugs.gentoo.org/605272
    Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 net-misc/networkmanager/metadata.xml                | 1 +
 net-misc/networkmanager/networkmanager-1.8.0.ebuild | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)