Re: [systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-08 Thread Lennart Poettering
On Mon, 01.12.14 12:06, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello all, > > In my efforts to make user LXC containers work I noticed that under a > "real" desktop (not just nspawn with VT login or ssh logins) my > carefully set up cgroups in the non-systemd controllers get reverted. > I.

Re: [systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-02 Thread Martin Pitt
Michal Sekletar [2014-12-02 12:32 +0100]: > Also this looks like a possible fix to the problem I tried to describe in, > > http://lists.freedesktop.org/archives/systemd-devel/2014-November/025607.html Yes, most probably. While I found that bug in the context of LXC user containers, it's by no mea

Re: [systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-02 Thread Michal Sekletar
On Mon, Dec 01, 2014 at 12:06:03PM +0100, Martin Pitt wrote: > Hello all, > > In my efforts to make user LXC containers work I noticed that under a > "real" desktop (not just nspawn with VT login or ssh logins) my > carefully set up cgroups in the non-systemd controllers get reverted. > I. e. I pu

[systemd-devel] [WIP PATCH] Do not realize and migrate cgroups multiple times

2014-12-01 Thread Martin Pitt
Hello all, In my efforts to make user LXC containers work I noticed that under a "real" desktop (not just nspawn with VT login or ssh logins) my carefully set up cgroups in the non-systemd controllers get reverted. I. e. I put the session leader (and all other pids) of logind sessions (/user.slice