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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to