Adding /sbin and /usr/sbin to everyone's path in F10

Shawn Starr sstarr at platform.com
Wed Apr 23 21:00:36 UTC 2008


> -----Original Message-----
> From: fedora-devel-list-bounces at redhat.com
> [mailto:fedora-devel-list-bounces at redhat.com]On Behalf Of Behdad
> Esfahbod
> Sent: Wednesday, April 23, 2008 4:13 PM
> To: Development discussions related to Fedora
> Subject: Re: Adding /sbin and /usr/sbin to everyone's path in F10
> 
> 
> On Wed, 2008-04-23 at 14:59 -0500, Chris Adams wrote:
> > Once upon a time, Matthew Miller <mattdm at mattdm.org> said:
> > > And I think we could solve 99.9% of the annoyance by 
> addressing ifconfig,
> > > fdisk, lsmod, route, and the other small handful of 
> programs mentioned in
> > > this thread. Like I said, it worked for traceroute back 
> in 2003. :)
> > 
> > Again, here's my personal list-at-a-glance of things to look at:
> > 
> > bind:
> >    /usr/sbin/rndc
> > 
> > chkconfig:
> >    /sbin/chkconfig
> > 
> > freeipmi:
> >    /usr/sbin/ipmiconsole
> >    /usr/sbin/ipmipower
> > 
> > hardlink:
> >    /usr/sbin/hardlink
> > 
> > iproute:
> >    /sbin/ip
> > 
> > module-init-tools:
> >    /sbin/lsmod
> >    /sbin/modinfo
> > 
> > net-tools:
> >    /sbin/arp
> >    /sbin/ifconfig
> >    /sbin/route
> > 
> > ntp:
> >    /usr/sbin/ntpq
> > 
> > pciutils:
> >    /sbin/lspci
> > 
> > usbutils:
> >    /sbin/lsusb
> > 
> > wireless-tools:
> >    /sbin/iwconfig
> >    /sbin/iwlist
> > 
> > That's 16 commands from 11 packages.  Yes, there are a few 
> more, but not
> > all that many.  How hard would is be to just fix these 
> (either symlink
> > or just move to /bin or /usr/bin as appropriate)?
> 
> How could you leave /sbin/pidof out?  Oh why, really, why is pidof
> in /sbin in the first place?  sigh...

You sure you want to do that too? :)

[root at rawfedora ~]# ls -la /sbin/pidof
lrwxrwxrwx 1 root root 8 2008-03-26 13:52 /sbin/pidof -> killall5

Nevermind the historical reasons psmisc/sysvinit-tools pidof has the symlink to killall5 or whatever  

Debian has it even worse ---> lrwxrwxrwx 1 root root 16 2008-04-04 16:32 /bin/pidof -> ../sbin/killall5

Fun :-)


> 
> -- 
> behdad
> http://behdad.org/
> 
> "Those who would give up Essential Liberty to purchase a little
>  Temporary Safety, deserve neither Liberty nor Safety."
>         -- Benjamin Franklin, 1759
> 
> -- 
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
> 




More information about the fedora-devel-list mailing list