[systemd-devel] [PATCH] cgroups: chown user slices

Lennart Poettering lennart at poettering.net
Thu Jul 11 06:56:40 PDT 2013


On Thu, 11.07.13 07:41, Oleksii Shevchuk (alxchk at gmail.com) wrote:

> 
> > (Note
> > that this means systemd --user will only work when run from
> > user at .service, as access to the cgroup tree is *not* granted for normal
> > sessions directly.)
> 
> So, how sessions should work now? Before that I started systemd --user
> as main session process, and when it exited, session exited too. How
> should I wait for session end now?

The idea was always that there would be one systemd instance *per user*
rather than *per session*, that's why the switch is called "--user"
rather than "--session".

You probably want your session to exist as long as the display it
manages is around.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list