From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DtzDp-0001Bh-Jv for garchives@archives.gentoo.org; Sun, 17 Jul 2005 02:49:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6H2mU2t020973; Sun, 17 Jul 2005 02:48:30 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6H2kqWo020013 for ; Sun, 17 Jul 2005 02:46:52 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DtzBd-0002qY-7Z for gentoo-dev@lists.gentoo.org; Sun, 17 Jul 2005 02:47:25 +0000 Received: (qmail 5987 invoked from network); 16 Jul 2005 22:46:42 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 16 Jul 2005 22:46:42 -0400 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] /etc/profile.d/ Date: Sat, 16 Jul 2005 22:48:47 -0400 User-Agent: KMail/1.8.1 References: <9f90e8bf05071514597043b7bb@mail.gmail.com> <200507162022.29823.vapier@gentoo.org> <20050717043820.3d7f4063@sven.genone.homeip.net> In-Reply-To: <20050717043820.3d7f4063@sven.genone.homeip.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507162248.47785.vapier@gentoo.org> X-Archives-Salt: acef1040-d9d5-469a-af1f-b9ca66b92d8b X-Archives-Hash: 3eced43eb9371be172c2f941505bca85 On Saturday 16 July 2005 10:38 pm, Marius Mauch wrote: > On Sat, 16 Jul 2005 20:22:29 -0400 > > Mike Frysinger wrote: > > On Saturday 16 July 2005 01:03 pm, Marius Mauch wrote: > > > On Fri, 15 Jul 2005 21:34:09 -0400 > > > > > > Mike Frysinger wrote: > > > > we could care less what users do with /etc/profile.d ... the > > > > point is that *only* users should use /etc/profile.d ... we dont > > > > want random Gentoo developer Foo installing some Bar.sh > > > > into /etc/profile.d with package app-crap/FooBar > > > > > > Would the following in /et/profile be a solution to this problem? > > > > > > for x in $( < /etc/profile.d/.default); do > > > source "/etc/profile.d/${x}" > > > done > > > > > > That way devs could install stuff there, but it would only be run if > > > users added it to the .default file. > > > > that kind of limits the intuitiveness of profile.d ... plus, not like > > they couldnt just do 'echo blah >> /etc/profile.d/.default' at the > > end of pkg_postinst or something > > They could do the same to /etc/profile, no? yeah could which is why we could just do a QA smackdown on package maintainers who utilize /etc/profile.d ... a quick grep shows that the following packages mention /etc/profile.d for some reason or another: dev-util/aegis (but it seems to correctly remove support) x11-base/xorg-x11 (no idea what it's trying to do with /etc/profile.d/xprint*) app-shells/bash-completion app-shells/tcsh -mike -- gentoo-dev@gentoo.org mailing list