Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815634 - removing busybox from @system leaves hosts without DHCP client
Summary: removing busybox from @system leaves hosts without DHCP client
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-01 11:52 UTC by Alex Glazunov
Modified: 2021-10-03 04:34 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 Alex Glazunov 2021-10-01 11:52:29 UTC
Hello!
Recently I have received news about excluding busybox from @system
"2021-09-24-busybox-removal-from-system-set". So I going to make a test.

After removing busybox my test virtual machine does not boot properly. It uses DHCP for network configuration and now it complaints: 
 * Bringing up interface eth0
 *   Caching network module dependencies
 *   config_eth0 not specified; defaulting to DHCP
 *   dhcp ...
 *     nothing provides `dhcp'

So it seems I have removed the only DHCP client (udhcpc) in the system.

I have a lot of hosts running Gentoo with network configured by DHCP. Do I need to manually add busybox to @world on all those hosts?

I think @system should provide DHCP client by default. 
Could Gentoo developers provide alternative DHCP client in @system?
Thanks in advance.


Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2021-10-01 15:36:13 UTC
I don't think adding a dhcp client to @system makes sense.

I would suggest adding net-misc/dhcp or net-misc/dhcpcd to your @world.
Comment 2 Mike Gilbert gentoo-dev 2021-10-01 15:39:31 UTC
The handbook already mentions installing a DHCP client as an installation step.

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools#Installing_a_DHCP_client
Comment 3 Alex Glazunov 2021-10-02 09:44:28 UTC
Okay, if this is a new "Gentoo way", then please close this bug ticket. I will try dhcpcd. Thanks for your quick answer!

P.S. I had read Gentoo Handbook a decade ago... =)
Comment 4 SpanKY gentoo-dev 2021-10-03 04:34:21 UTC
the only reason busybox was ever in @system was as our rescue shell (to replace sash).  it was never in there for anything else (like a dhcp client fallback).  so removing it from @system means we aren't providing a rescue shell, and you can argue that point, but any other behavior was not guaranteed.

if you want a dhcp client, you need to select one.