Bug 1016674 - net-tools should move binaries to /usr/bin and /usr/sbin
Summary: net-tools should move binaries to /usr/bin and /usr/sbin
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 13:56 UTC by Tomáš Hozza
Modified: 2013-10-10 11:01 UTC (History)
1 user (show)

Fixed In Version: net-tools-2.0-0.15.20131004git.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-10 10:09:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hozza 2013-10-08 13:56:27 UTC
Description of problem:
As of Fedora 17, the top level directories /bin and /sbin are just symlinks
to /usr/bin /usr/sbin. However net-tools installs all of its binaries to
those top level directories.

Since we have Fedora 19 already I would expect "yum provides /usr/bin/netstat" to tell me which package provides netstat binary. However because net-tools
installs binaries into top level dirs, this is not possible.

Version-Release number of selected component (if applicable):
net-tools-2.0-0.6.20130109git.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum provides /usr/bin/netstat
2. yum install net-tools && rpm -ql net-tools

Actual results:
/bin/netstat
/sbin/arp
/sbin/ether-wake
/sbin/ifconfig
/sbin/ipmaddr
/sbin/iptunnel
/sbin/mii-diag
/sbin/mii-tool
/sbin/nameif
/sbin/plipconfig
/sbin/route
/sbin/slattach
...

Expected results:
/usr/bin/netstat
/usr/sbin/arp
/usr/sbin/ether-wake
/usr/sbin/ifconfig
/usr/sbin/ipmaddr
/usr/sbin/iptunnel
/usr/sbin/mii-diag
/usr/sbin/mii-tool
/usr/sbin/nameif
/usr/sbin/plipconfig
/usr/sbin/route
/usr/sbin/slattach

Additional info:
http://fedoraproject.org/wiki/Features/UsrMove

Comment 1 Jiri Popelka 2013-10-08 14:56:58 UTC
(In reply to Tomas Hozza from comment #0)
> Expected results:
> /usr/sbin/ifconfig
> /usr/sbin/route

Upstream decided some time ago that ifconfig & route should be in /bin instead of /sbin. I've been moving them back to /bin up to now but I think it's time to be in sync with upstream so correct would be:

/usr/bin/ifconfig
/usr/bin/route

Comment 2 Jiri Popelka 2013-10-08 14:58:06 UTC
(In reply to Jiri Popelka from comment #1)
> I've been moving them back to /bin

back to /sbin

Comment 3 Tomáš Hozza 2013-10-10 11:01:10 UTC
Thanks for quick fix...


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