[systemd-devel] [PATCHv2] man: Add a note about what environment variables are available by default.

Colin Guthrie gmane at colin.guthr.ie
Thu Sep 12 06:52:44 PDT 2013


'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 12/09/13 14:32 did
gyre and gimble:
> On Fri, Jul 26, 2013 at 11:24:44AM +0100, Colin Guthrie wrote:
>> +                <para>All processes are executed in a clean environment in
>> +                which only the TERM, PATH, USER, and HOME variables are
>> +                inherited (from PID1) by default. In order to set additional
>> +                variables, see the Environment= and EnvironmentFile= options
>> +                below. To specify variables globally, you can configure
>> +                DefaultEnvironment= in
>> +                <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
> Hi,
> I pushed something like this now, but with completely different text,
> since variables exported have changed significantly, and in addition
> the behaviour for PID 1 and user instances is significantly different.

Ahh cool, thanks for that. I was going to look at it again (it still
gets rebased on my local master when I pull :D) soon anyway after Kay's
reworks. :)

Cheers

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list