Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 547264

Summary: sys-apps/iproute2: please install ss in /bin/
Product: Gentoo Linux Reporter: Vadim A. Misbakh-Soloviov (mva) <mva>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement CC: pchrist, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=330115
Whiteboard:
Package list:
Runtime testing required: ---

Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-04-21 07:28:19 UTC
Hi. This bug is something like #330115 . It also can be used by regular users, and it is also installed in /bin in Debian (as reported by my buddies) and, probably, RH-based distros. And it's analog (netstat in that case) is already installing in /bin.

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2015-05-01 16:43:57 UTC
I'm wondering if we should just move all of iproute2 to /bin since the
bin/sbin split is becoming so much less significant these days?
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2016-10-15 07:22:41 UTC
1) ping?
2) @WilliamH, sure, why not?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-11-30 00:42:15 UTC
williamh: ping on this.

potential plan:
- move to /bin
- put symlinks in /sbin for 6 months?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-11-30 00:58:29 UTC
There are NO uses of any of the following binaries with a path in the portage tree directly:

arpd
ctstat
devlink
genl
ifcfg
ifstat**
lnstat
nstat
rdma
routef
routel
rtacct
rtmon
rtpr
rtstat
tipc

I have not finished checking:
ss
tc
bridge

Interesting cases: 
- ifstat already can be ambiguous with net-analyzer/ifstat

That means any remaining use would be inside packages themselves.
Comment 5 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2020-12-11 05:56:01 UTC
ping?
Comment 6 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2022-05-03 16:59:33 UTC
ping?
Comment 7 Larry the Git Cow gentoo-dev 2022-05-28 02:52:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ccf7bd5334ae6f3d5577b638ef793a295d4e0f0

commit 5ccf7bd5334ae6f3d5577b638ef793a295d4e0f0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-28 02:38:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-28 02:52:20 +0000

    sys-apps/iproute2: add 5.18.0
    
    Moves /sbin/ss -> /bin/ss with a compatibility symlink in /sbin.
    
    Closes: https://bugs.gentoo.org/547264
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/iproute2/Manifest               |   1 +
 sys-apps/iproute2/iproute2-5.18.0.ebuild | 174 +++++++++++++++++++++++++++++++
 sys-apps/iproute2/iproute2-9999.ebuild   |  36 ++++---
 3 files changed, 195 insertions(+), 16 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2024-01-01 01:51:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735edc3bf64c10afba704da20a3af056d7ad73ba

commit 735edc3bf64c10afba704da20a3af056d7ad73ba
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-01-01 01:42:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-01 01:51:01 +0000

    sys-apps/iproute2: drop old compat symlink and USE=split-usr hack
    
    As promised in the ebuild comments, we can now remove the compatibility
    symlink from /sbin -> /bin.
    
    While we are at it, don't do the move conditional on split-usr. Arguably
    only the symlink should have been conditionalized on this way back
    when... we already move another binary too in the same way, but without
    any conditional.
    
    Bug: https://bugs.gentoo.org/547264
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{iproute2-6.6.0-r2.ebuild => iproute2-6.6.0-r3.ebuild}     | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)