You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] [RC1 Sodium] network.arp cmd does not work on Ubuntu 20 #57513
It's in the obsolete package net-tools, which is no longer part of the default installation.
That package has been deprecated for a while (nine years ago).
Replacement commands are as follows:
old
new
arp
ip neighbor
ifconfig
ip addr, ip link, ip -stats
iptunnel
ip tunnel
iwconfig
iw
nameif
ip link
netstat
ss
route
ip route
There's probably a wider issue here for all the linux networking functions.
For replacing net-tools' functionality, instead of using iproute2's CLI I feel like it might make sense to consider using pyroute2 instead, which is most likely far more performant, since it doesn't shell-out for every function but uses a native Python netlink implementation instead and also eliminates the issue of having to rely on parsing a command's output.
It is a recommends dependency, not a required one. We could potentially change it to a suggests dependency. I would want more community input on that. We went with recommends because it would "just work" for people, and they could still remove it if they wanted to.
Activity
OrangeDog commentedon Jun 2, 2020
It's in the obsolete package
net-tools, which is no longer part of the default installation.That package has been deprecated for a while (nine years ago).
Replacement commands are as follows:
There's probably a wider issue here for all the linux networking functions.
bryceml commentedon Jun 2, 2020
The plan is to add a
Recommendsdependency on net-tools to Ubuntu 20.04 for the actual release.bryceml commentedon Jun 2, 2020
See https://github.com/saltstack/salt-pack-py3/blob/develop/file_roots/pkg/salt/master/ubuntu2004/spec/salt_ubuntu.tar.xz
I already updated the debian control file.
eliasp commentedon Jun 3, 2020
For replacing
net-tools' functionality, instead of usingiproute2's CLI I feel like it might make sense to consider using pyroute2 instead, which is most likely far more performant, since it doesn't shell-out for every function but uses a native Python netlink implementation instead and also eliminates the issue of having to rely on parsing a command's output.sagetherage commentedon Jun 9, 2020
Keeping open 57541 and closing this as changes were made in salt-pack-py3 repo for the Sodium release
OrangeDog commentedon Jun 18, 2020
@bryceml the 3001 release package has
net-toolsas a required dependency instead of a recommendation.Can this be fixed?
bryceml commentedon Jun 19, 2020
It is a recommends dependency, not a required one. We could potentially change it to a suggests dependency. I would want more community input on that. We went with recommends because it would "just work" for people, and they could still remove it if they wanted to.