[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/environment

On 24 Feb 1998, Guy Maor wrote:

> I'm afraid this this will cause maintainers to start having packages
> add things to there, forgetting the rule that binaries are supposed to
> work with no environment variable settings.

Exactly. Actually, I was thinking the same when I saw this proposal. So
please let me point out current policy WRT /etc/environment:

 1. No program may require environment variables for getting reasonable

 2. Of course, having an /etc/environment does not conflict with #1, and
can be very useful for the local sysadmin to set global variables for her
users. But: the default /etc/environment files as provided by Debian
should be empty (or perhaps contain just comments) and no other package
may add any defines into that file.

In summary, I think the idea of providing an empty /etc/environment files
which is parsed by all our login shells is a great idea and definitely
should be implemented. But we may not use it for configuring our packages.



--          _,,     Christian Schwarz
           / o \__   schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
           !   ___;   schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
           \  /        
  \\\______/  !        PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
   \          /         http://fatman.mathematik.tu-muenchen.de/~schwarz/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: