Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1496138

Summary: Remove dependency on net-tools
Product: [Fedora] Fedora Reporter: James Hogarth <james.hogarth>
Component: openslpAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rdieter, vcrhonek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openslp-2.0.0-16.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-04 11:40:42 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:31:28 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 James Hogarth 2017-10-04 08:38:58 UTC
Thanks for looking at this.

Reviewing the commit though it appears there's still a dependency:

https://src.fedoraproject.org/rpms/openslp/c/827d5561792e3824988fce2af8cb2d64268bb4fb?branch=master

CMD_ADD_ROUTE uses route which is part of net-tools where the appropriate iproute equivalent is to use the 'ip route' command

Comment 2 Vitezslav Crhonek 2017-10-04 09:09:58 UTC
Thanks, I'll fix that too.

Comment 3 Vitezslav Crhonek 2017-10-04 11:40:42 UTC
Hopefully, the net-tools replacement is complete now.