[lxc-users] Unprivileged container - Failed to mount cgroup at /sys/fs/cgroup/systemd

Alexandru Geana alex at alegen.net
Mon Nov 10 11:03:23 UTC 2014


Hello everyone,

I am trying to run unprivileged containers on a VPS. Every time I run

*lxc-start -n init_test*

I get the message


*Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted*
A short description of my setup:
*) host runs fedora20, container is a debian jessie, arch is amd64
*) custom kernel, lxc-checkconfig prints everything green
*) I run this script to create a cgroup http://pastebin.com/TWBzw6Cp
*) the config of the cntainer is http://pastebin.com/AqhfvSCv
*) relevant output of mount http://pastebin.com/pJzyyAge
*) output of lssubsys http://pastebin.com/aZK49957

There is a /sys/fs/cgroup/systemd folder and I tried running

*cgcreate -a $USER -t $USER systemd:init_test*

but I get the message

*cgcreate: can't create cgroup init_test: Cgroup one of the needed
subsystems is not mounted*

Does anyone have any idea of what I am doing wrong or what I am missing?
Thank you.

Best regards,
*Alexandru Geana (** alegen.net <https://alegen.net>** )*
E-mail address: *alex at alegen.net <alex at alegen.net>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141110/0f1780f0/attachment.html>


More information about the lxc-users mailing list