Re: /etc/environment (related with bug #28446)
On Mon, 16 Nov 1998 13:45:19 +0100 Francesco Potorti` wrote:
[about /etc/environment and login]
> Another place where /etc/environment is called for is in the
> /etc/X11/Xsession script:
>
> # global Xsession file -- used by both xdm and xinit (startx)
>
> # If /etc/environment is present, source it. It's useful to put def
ault
> # environment settings in this file, and then source it both here a
nd in
> # /etc/profile.
> if [ -f /etc/environment ]; then
> . /etc/environment
> fi
>
> As you see, the file is sourced, which means that the values of the
> variables defined should be properly quoted.
There was an inofficial xdm-diff posted on debian-devel some time ago.
I reposted it a few months ago.
The diff changed xdm to obey /etc/environment; this would make the
``hack'' above superfluous.
David
--
David Frey (B98D36A9) = 51F35923114FC864 7D05FF173C61EFDE
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
Reply to: