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.
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?
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
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}'
commit 436ddc6f40596fd81ae9fc8c4ed6139b656b895b removes dependency on net-tools