From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9FC291384B4 for ; Thu, 26 Nov 2015 03:59:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B961121C01E; Thu, 26 Nov 2015 03:58:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C316321C011 for ; Thu, 26 Nov 2015 03:58:57 +0000 (UTC) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id AA78533BEE9 for ; Thu, 26 Nov 2015 03:58:55 +0000 (UTC) Received: by ioc74 with SMTP id 74so73191304ioc.2 for ; Wed, 25 Nov 2015 19:58:53 -0800 (PST) X-Received: by 10.107.167.18 with SMTP id q18mr37357939ioe.141.1448510333491; Wed, 25 Nov 2015 19:58:53 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.3.27 with HTTP; Wed, 25 Nov 2015 19:58:34 -0800 (PST) In-Reply-To: <20151126003957.b2e7acf9daf06c603c2d0195@gentoo.org> References: <20151125171011.GA8731@whubbs1.ad.gaikai.biz> <20151126003957.b2e7acf9daf06c603c2d0195@gentoo.org> From: Mike Gilbert Date: Wed, 25 Nov 2015 22:58:34 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 0f59a285-3b93-440c-b4ff-81d16d42f8f4 X-Archives-Hash: 0f2cce4a77446f94e2c74a99676d479d On Wed, Nov 25, 2015 at 4:39 PM, Andrew Savchenko 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.