Bug 1496156

Summary: Remove dependency on net-tools
Product: [Fedora] Fedora Reporter: James Hogarth <james.hogarth>
Component: systemtapAssignee: Jafeer Uddin <juddin>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: brolley, dsmith, fche, jistone, juddin, lberk, mjw, scox, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-30 13:09:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1496100    

Description James Hogarth 2017-09-26 14:52:31 UTC
On linux the net-tools suite of utilities has been long since deprecated.

The relevant code that gets executed on Fedora and EPEL should be identified and patched out, with a suitable pull request upstream, to remove the dependency on any tool in the net-tools package and instead use suitable tools form iproute2.

Comment 1 Frank Ch. Eigler 2017-09-26 15:21:29 UTC
We use 'netstat -tn' to enumerate current connections, so as to help identify some likely-unused tcp port numbers.  What's the new world order method to do that?

Comment 2 Fedora End Of Life 2018-02-20 15:30:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Mark Wielaard 2018-04-20 13:52:08 UTC
iproute2 contains ss, which seems to act almost exactly like netstat.
So the usage of netstat -atn | awk '{print $4}' can probably simply be replaced by ss -atn | awk '{print $4}'

Comment 4 Jafeer Uddin 2018-05-30 13:09:45 UTC
commit 436ddc6f40596fd81ae9fc8c4ed6139b656b895b removes dependency on net-tools