Mike Frysinger schrieb:
>> If we talk about basic setups, then iproute2 provides everything too.
> 
> no one said otherwise.  i did however say requiring iproute2 for static 
> ip/route setups is redundant.  i see you agree.

It is redundant as long as net-tools is in the system set.

>> for some reason the user prefers to use ifconfig over ip, or needs
>> functions not covered by iproute2 (are you referring to netstat?), then
>> he can install net-tools.
> 
> we aren't talking about removing net-tools from system.

nightmorph first brought this up.

>  until we have 
> replacement for all of its tools, it's always going to be there.

After net-tools is no longer needed for basic setups (which I understand
will be still the case after the proposed changes), why should it remain
in the system set?

> i'd also suspect that many scripts (packages/users) execute ifconfig to get 
> network information.  obviously hard to quantify, but that's what you get for 
> having a util that has existed for ~30 years, and for ~20 years more than 
> iproute2.

That's ok. Packages which parse ifconfig output will then have to set a
dependency on it. Users who run scripts that assume presence of ifconfig
will need to install net-tools.

>> openrc can already use busybox udhcpc instead of dhcpcd, so there is a
>> precedent.
> 
> that's not the same thing at all.  `udhcpc` is not intended to be a drop-in 
> replacement for `dhcpcd`.  we have a dedicated module to work with udhcpc, 
> and 
> we have another dedicated module to work with dhcpcd.

So if someone creates a "busybox_ip" module (which would essentially be
a copy of the iproute2 module) then it will suddenly become the same thing?

> to be clear, my problem is with dropping the ifconfig module completely.  i 
> don't have a problem with requiring iproute2 for more complicated things, or 
> even for making it part of the Linux system set.  but these are orthogonal 
> issues imo to the question "should openrc contain support for ifconfig/route".

Having the openrc ifconfig code around in case someone still wants/needs
it is something I fully agree with.


Best regards,
Chí-Thanh Christopher Nguyễn

Reply via email to