Gentoo Archives: gentoo-dev

From: Alexander Gretencord <arutha@×××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] /etc/profile
Date: Thu, 28 Nov 2002 07:16:30
Message-Id: 200211280815.35800.arutha@gmx.de
In Reply to: [gentoo-dev] /etc/profile by messdev
On Thursday 28 November 2002 01:50, messdev wrote:
> Why exporting global variables' mechanism is so complicated?
Is it?
> It is not very ,,user friendly'' to edit /etc/env.d/00basic to change some > global variables
Well, where's the problem? Instead of editing one file called /etc/profile you edit another file called /etc/env.d/something. How the mechanism of getting it into your shells environment works doesn't have to bother you.
> It's not intuitively. Or maybe there is some simpler way to edit it?
Well as said, what's not simple in editing _one_ file? You've always edited _one_ file. Just think about what is achieved by this mechanism. It's a simple and good solution to a problem. And normal users usually don't change global settings anyway, but use their own .profile which is not affected by portage's handling of global profile entries. As a sysadmin you will appreciate gentoo's handling as packages can add to the global settings without messing around with the actual file. Alex -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin -- gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] /etc/profile messdev <messdev@××××××××××××××××.org>