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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Sep 12 06:37:14 PDT 2013


On Thu, Sep 12, 2013 at 03:32:12PM +0200, Zbigniew Jędrzejewski-Szmek wrote:
> 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.
Hm, looking at the other part of this thread, Kay and Lennart have provided
a full list of variables. It is too long for one or two paragraphs, so
maybe a separate section describing all variables and circumstances in
which they are set should be added.

Zbyszek


More information about the systemd-devel mailing list