We definitely have a race here. I can now reliably create either a broken system or a working system simply by delaying the start of cgmanager slightly:
- With the cgmanager startup delay, delay everything works correctly.
- With no cgmanager startup delay, the session init ends up in the root cgroups rather than the correct logind-generated
"user.slice/user-$uid.slice/session-$session.scope".
We definitely have a race here. I can now reliably create either a broken system or a working system simply by delaying the start of cgmanager slightly:
- With the cgmanager startup delay, delay everything works correctly.
- With no cgmanager startup delay, the session init ends up in the root cgroups rather than the correct logind-generated slice/user- $uid.slice/ session- $session. scope".
"user.