Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6526 - traceroute should be installed into /usr/bin, every user can execute it
Summary: traceroute should be installed into /usr/bin, every user can execute it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 09:22 UTC by Hannes Mehnert (RETIRED)
Modified: 2002-08-26 06:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Mehnert (RETIRED) gentoo-dev 2002-08-15 09:22:21 UTC
I think, traceroute should be in /usr/bin, here is a diff: 
 
--- /usr/portage/net-analyzer/traceroute/traceroute-1.4_p12.ebuild      Wed 
Aug  
14 14:20:51 2002 
+++ /home/portage/net-analyzer/traceroute/traceroute-1.4_p12.ebuild     T 
hu Aug 15 15:41:39 2002 
@@ -14,11 +14,16 @@ 
  
 DEPEND="virtual/glibc" 
  
-src_install () { 
+src_compile() { 
        cd ${S} 
-       dodir /usr/sbin 
-       make prefix=${D}/usr install || die 
- 
+       ./configure --sbindir=/usr/bin \ 
+       --mandir=/usr/share/man \ 
+       --prefix=/usr --host=${CHOST} 
+       emake || die 
+} 
+src_install () { 
+       dodir usr/bin 
+       emake DESTDIR=${D} install || die 
        doman traceroute.8 
        dodoc CHANGES INSTALL 
}
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-08-16 01:22:29 UTC
i don't think so
you can find traceroute in /usr/sbin in every other distri.

you can run it from there too
/usr/sbin/traceroute
it just not in the path for the user(s).
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-08-16 07:41:13 UTC
Hi there, 
 
I know that You can execute it, but at http://www.pathname.com/pub/fhs-2.2.pdf 
I found: 
 
4.10 /usr/sbin : Non-essential standard system binaries 
4.10.1 Purpose 
  
This directory contains any non-essential binaries used exclusively by the 
system administrator. System administration programs that are required for 
system repair, system recovery, mounting /usr, or other essential functions 
must be placed in /sbin instead. 
 
And I think traceroute is not exclusively used by the system administrator. 
 
Please correct me if I'm wrong. 
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-26 06:12:22 UTC
Fixed, thanks for catching this!