[systemd-devel] User sessions, session buses, user buses

Lennart Poettering lennart at poettering.net
Mon Feb 2 14:06:34 PST 2015


On Fri, 30.01.15 22:53, Elias Probst (mail at eliasprobst.eu) wrote:

> On 01/30/2015 09:30 AM, Simon McVittie wrote:
> > Remaining issue: environment variables
> > ======================================
> > 
> > […]
> > As a short-term solution, I'm tempted to write that tool, but make it
> > only upload a whitelisted set of variables automatically, and say "if
> > you install dbus-user-bus, you are expected to run this tool from your
> > ~/.xsession if you need it".
> 
> IMHO, env variables are something we should get rid of in the long term.
> It might be fine for now to provide some legacy-compatibility mechanisms
> (like your not-yet-written tool), but to me environment variables are
> something straight out of the dark ages.

I think in the long-run we should not use environment variables for
all these things in the default codepaths. However, the user always
needs the ability to set some if he desires to do so.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list