[systemd-devel] [PATCH] Just list all the variables
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Sep 17 09:18:55 PDT 2013
On Tue, Sep 17, 2013 at 09:56:53AM +0100, Colin Guthrie wrote:
> It's possibly worth mentioning that variables are not set from the
> underlying environment. e.g. if a user set "export
> PATH=/opt/mystuff/bin:$PATH" in /etc/profile.d/my-stuff.sh, systemd will
> not "see" that PATH change.
>
> While it applies to all variables listed here and I know you mention it
> at the end, this ($PATH) is the one that most regular users would
> probably expect to be inherited (IMO) so it possibly warrants a mention
> above the tl;dr fold!
Applied, with a note that says that $PATH is fixed. In essence, it is,
because pid eins uses a fixed one, and that is passwd onto systemd
--user, which in turns passes it onto child services.
Zbyszek
More information about the systemd-devel
mailing list