[lxc-users] systemd hangs at container start
Fajar A. Nugraha
list at fajar.net
Wed May 6 06:06:32 UTC 2015
On Wed, May 6, 2015 at 12:41 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:
> using lxc 1.1.1, I downloaded a debian jessie based container with
> 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?
Known old bug with fix released.
IIRC the fixes for systemd inside a privileged container is included
in 219. Jessie use 215. You can try rebuilding systemd 219 from debian
experimental or ubuntu vivid.
> I noticed the same problem with CentOS7.
I've posted my systemd-219 (and its dependencies) RPMs for centos:
https://lists.linuxcontainers.org/pipermail/lxc-users/2015-March/008658.html
--
Fajar
More information about the lxc-users
mailing list