From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6D981396D9 for ; Thu, 12 Oct 2017 16:09:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D55272BC062; Thu, 12 Oct 2017 16:09:04 +0000 (UTC) Received: from very.loosely.org (very.loosely.org [173.255.215.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E8ED2BC04C for ; Thu, 12 Oct 2017 16:09:04 +0000 (UTC) Received: from [10.8.78.6] (port=44908 helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtp (Exim 4.89) (envelope-from ) id 1e2g2h-00017L-J6 for gentoo-user@lists.gentoo.org; Thu, 12 Oct 2017 09:09:03 -0700 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.89) (envelope-from ) id 1e2g2c-0000zZ-8E for gentoo-user@lists.gentoo.org; Thu, 12 Oct 2017 09:08:58 -0700 Date: Thu, 12 Oct 2017 09:08:58 -0700 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: FreeBSD migration, what to do with /usr/local Message-ID: <20171012160858.acmsxhx2c4mr5cms@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20171012062933.6bhtcfqso37gf6af@matica.foolinux.mooo.com> <20171012071204.441902BC058@pigeon.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171012071204.441902BC058@pigeon.gentoo.org> X-Loosely-Listed: yes User-Agent: NeoMutt/20170707 (1.8.3) X-Archives-Salt: c176b159-9aba-43a5-b72e-b4672c83e048 X-Archives-Hash: beb01e95e7542f28db0125254c19d6c6 On 2017-10-12 07:11, Thomas Mueller wrote: > You could possibly copy Gentoo scripts to /usr/local/gentoo-scripts, > or would that not work with your scripts as set up? > > You would have to be careful setting up your PATH in .profile and > /etc/profile , to make sure it includes the proper LOCALBASE. But this is not enough: this is exactly what I mean in my penultimate paragraph. What about cron, for example? I think the Linux crons put /usr/local/{bin,sbin} in the PATH of the jobs. Now I have to worry about the new location also being included. Similarly with ssh (when not interactive, so .profile is not read), and so on yada yada. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. Do obvious transformation on domain to reply privately _only_ on Usenet.