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 - Remove dependency on net-tools
Summary: Remove dependency on net-tools
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openslp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: deprecation, net-tools
TreeView+ depends on / blocked
 
Reported: 2017-09-26 14:31 UTC by James Hogarth
Modified: 2017-10-04 11:40 UTC (History)
2 users (show)

Fixed In Version: openslp-2.0.0-16.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-04 11:40:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.