[lxc-users] systemd hangs at container start

Dietmar Maurer dietmar at proxmox.com
Wed May 6 05:41:18 UTC 2015


using lxc 1.1.1, I downloaded a debian jessie based container with

# lxc-create -n test -t download ...

the container config looks like:

lxc.arch = x86_64
lxc.include = /usr/share/lxc/config/debian.common.conf
lxc.utsname = test
...

But I am unable to start it (hangs in init):

# lxc-start -n 201 -F
Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied

But it works if I disable apparmor:

lxc.aa_profile = unconfined


Is this a known bug? Or is this releated to the following patch:

http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h=ubuntu&id=1e76bb017a447d92b224f0476d5d5551bbd16850

I noticed the same problem with CentOS7.

Can somebody reproduce that problem?



More information about the lxc-users mailing list