Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied #685
Comments
|
Ubuntu 14.04 has LXC 1.0.7 which doesn't support running systemd inside the container. You can install the LXC 1.1.4 backport available in trusty-backports which should fix that (enabled backports in /etc/apt/sources.list, then apt-get update, then apt-get -t trusty-backports install lxc) or use the stable LXC PPA at ppa:ubuntu-lxc/stable Anyway, not a bug, that's why we released LXC 1.1 :) |
stgraber
closed this
Nov 3, 2015
srkunze
commented
Nov 3, 2015
|
Alright. Thanks for the very quick response. Let me see if I can get this running. |
srkunze
commented
Nov 3, 2015
|
@stgraber Can I use the container created with lxc 1.0.7? |
|
Yeah, it should be fine. LXC shouldn't have changed anything inside the generated rootfs. |
dann1
commented
Feb 5, 2016
|
hello I had the same problem and I installed lxc 1.1.5, then the containers fail to start again but the terminal says somthing else: "lxc-start: lxc_start.cc: main: 344 The container failed to start" , I've used containers with no problem on debian 8.2 but I'm trying to run them on ubuntu 14.04, after an apparently successful lxc-create I try to start it using lxc-start -n name but terminal shows the previous error |
|
When reporting failures, please show the output of lxc-start -n -F -l trace -o /dev/stdout and the package versions for lxc, cgmanager, and lxcfs. |
srkunze commentedNov 3, 2015
What am I missing here? Using Ubuntu 14.04.
lxc-testis a Ubuntu 15.10 container.