[systemd-bugs] [cgroup in lxc container] problem with non root user session in lxc container

Lennart Poettering lennart at poettering.net
Thu Feb 27 17:10:26 PST 2014


On Thu, 27.02.14 13:54, Jacek Pielaszkiewicz (j.pielaszkie at samsung.com) wrote:

> Dec 31 21:44:55 localhost systemd[1]: Started User Manager for 5001.
> mkdir("/sys/fs/cgroup/systemd/system.slice/system-server.service/system.slic
> e/system-server.service/user.slice/user-5001.slice", 0755) = -1 EACCES
> (Permission denied)

My educated geuss here is that cgroupfs can't deal with user namepsaces?
or something like that? Note that the systemd --user instance should
normally get write access to the cgroup subtree, so that it canmanage
its own subtree. That didn't work apparently...

>                 <filesystem type="ram">
>                         <source usage="1024" />
>                         <target dir="/tmp"/>
>                 </filesystem>

This appears unnecessary, as that's systemd's default anyway...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-bugs mailing list