@calestyo: "Hi.
Just wondered about the status of /etc/environment...
It seems that this belongs to libpam... but is no longer created an
deprecated or at least for providing local information, right?
However,... some packages seem to still have a look at it, e.g. openssh
(greped through my /var/lib/dpkg/info/*).
What's the status on this? Can one delete it? Or should libpam upgrade
automatically remove it if it's no longer used?
Cheers,
Chris.
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
    @pere: "[Christoph Anton Mitterer]
<quote>
Debian Edu use it to set the global proxy settings.  It is created
during installation and for Squeeze will be updated when DHCP replies
arrives.
Is there an alternative for setting environment variables for all
processes?
Happy hacking,
Petter Reinholdtsen
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
    @vorlon: "<quote>
It's actually a bug that /etc/environment is no longer created by default;
it was previously created for us on install by d-i because it was used for
locales, but since it was determined that this wasn't the right place for
locale settings, pam itself should create it on installation.
It's certainly ok for Debian Edu to use this file - just bear in mind that
not every process on the system has a corresponding PAM session.  (This was
why locales were moved out of that file, after all.)
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    <url>
<email_address>                                     <email_address>
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
    @calestyo: "<quote>
Tested a bit more and it seems to be created,... but only when
installing the first time (i.e. when package was not installed before).
Reinstalling doesn't create it back.
Cheers,
Chris.
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
    @vorlon: "<quote>
Ah, I didn't remember that this had been fixed. ok.
Nor should it.
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    <url>
<email_address>                                     <email_address>
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
    @calestyo: "Well.... does this perhaps deserve it's own manpage? At least if it's
not deprecated?
I barely found any real documentation about it (how it's intended to be
used and so).
It seems to be 
Some init-scripts on my system merely use it as a location for the local
settings, e.g. console-screen.sh, keymap.sh and pcscd, overriden
by /etc/defaults/locale:
[ -r /etc/environment ] && ENV_FILE="/etc/environment"
[ -r /etc/default/locale ] && ENV_FILE="/etc/default/locale"
#then sourcing it somehow
One of Debian's derivates has some nice specification:
<url>
20environment%20variables
Cheers,
Chris.
To UNSUBSCRIBE, email to <email_address>
with a subject of "unsubscribe". Trouble? Contact <email_address>
Archive: <url>"
{'source': 'USENET', 'other_information': '{"reply_count": 5, "forum_name": "linux.debian.devel.20141028.mbox"}', 'file': 'data/output/usenet-linux.debian.parquet'}