Summary: | net-misc/netifrc-0.7.3-r1 : add missing dhcp clients | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabriel Linder <linder.gabriel> |
Component: | Current packages | Assignee: | netifrc Team <netifrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alix.gentoo, bkohler, kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=904758 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gabriel Linder
2022-05-19 19:17:27 UTC
busybox was excluded on purpose; it's a really limited implementation intended for minimal systems. Most users will be happier with dhcpcd or dhclient. I know it's not perfect but my thought was that advanced users who really want busybox udhcpc can just set -dhcp and go on how they have before. Setting -dhcp won't have any ill effect for you if you are already bringing your own dhcp client (whether it be busybox, or pump which is no longer in ::gentoo, or some hand-built thing). @mike * Messages for package net-misc/dhcp-4.4.3-r1: * The client and relay functionality will be removed in the next release! * Upstream have decided to discontinue this functionality. But dhclient was kept, somehow. Most users will be happier when it finally breaks, I suppose ? @ben Fine for me, I will leave -dhcp for netifrc then. I've experimented with the combination of netifrc and udhcpc in the past and found it to be unreliable. By unreliable, I mean that, while it would work fine on some hosts, on others it would inexplicably fail to obtain a lease within its default timeout period. Further, in those situations where udhcpc would fail, using either of dhcpcd or dhclient would rectify the issue. Therefore, I would emphasise what Mike said; I don't think that it should be endorsed as a client to be used by netifrc. On the other hand, the new ebuild will result in the client being switched under the following conditions: - neither dhcpcd nor dhclient were previously installed, while busybox was - the user relied on the udhcpc module being implicitly selected, rather than having selected it with "modules" or "modules_interfacename" - the user didn't inspect the ebuild so as to realise the nature of the change and set "-dhcp" in advance, resulting in another client being installed that is preferred by netifrc Assuming that net-misc/busybox is not going to be added to the ebuild, I'd suggest adding a brief post-install message for now, so that those invested in udhcpc aren't caught off-guard. Ben, what do you think? As an aside, net-misc/pump no longer exists so there's a case to be made for removing support from netifrc. (In reply to Gabriel Linder from comment #3) > * Messages for package net-misc/dhcp-4.4.3-r1: > > * The client and relay functionality will be removed in the next release! > * Upstream have decided to discontinue this functionality. > > But dhclient was kept, somehow. Most users will be happier when it finally > breaks, I suppose ? Given the change to the ebuild, I think it's the case that dhcp functionality should only break outright in the case that USE="-dhcp" is set and the user explicitly selected the dhclient module in /etc/conf.d/net. Still, that's interesting. Perhaps it would merit a news item when the time comes. *** Bug 904758 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7666992380a6ea303e04eec4457e1b11c2cda310 commit 7666992380a6ea303e04eec4457e1b11c2cda310 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2023-10-03 20:40:51 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2023-10-03 20:40:51 +0000 net-misc/netifrc: revbump, add busybox to dhcp (bug #846488), bug #861686 Closes: https://bugs.gentoo.org/846488 Closes: https://bugs.gentoo.org/861686 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> net-misc/netifrc/netifrc-0.7.6-r1.ebuild | 91 ++++++++++++++++++++++++++++++++ net-misc/netifrc/netifrc-9999.ebuild | 17 +++++- 2 files changed, 106 insertions(+), 2 deletions(-) |