On Wed, Nov 25, 2015 at 4:39 PM, Andrew Savchenko <birc...@gentoo.org> wrote: > On Wed, 25 Nov 2015 11:10:11 -0600 William Hubbs wrote: >> All, >> >> I would like for us to discuss adding the sbin directories to PATH for >> all users. >> >> The only reason I can think of that we have removed them is cosmetic (it >> removes things from tab completion), but I have also heard that having >> those things in tab completion would be a good thing. >> >> Another reason I am bringing this up is this bug [1]. On standard OSx, >> there is no reason to hard code the path to sysctl like I'm being asked >> to do in the patch associated with this bug, because the sbin >> directories are always in the path. In other words, it isn't worth the >> effort to send this patch upstream, which means there will always be a >> Gentoo-specific patch to dev-lang/go unless upstream finds another way >> to do the test they are doing on OSx via sysctl. >> >> Any ideas? > > +1. Just do it. > > I add /sbin and /usr/sbin in PATH on all Gentoo setups for ages. > Too many useful tools are there. Though, add them after /bin > and /usr/sbin for non-priviledged users and before for root.
Swapping the order is silly and should be pointless. If we are installing different binaries with the same name in bin/sbin, that's a bug that needs fixing.