From 8fb6c1cee47687d729be9d1bdea258a50fb853e6 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 28 Jun 2016 11:25:32 +0200 Subject: [PATCH] conf/debian-jessie: Use consistent /proc, /sys and /sys/fs/cgroup (v2) Without this a systemd container won't start: > $ lxc-start -n vagrant-base-stretch-amd64 > Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied > [!!!!!!] Failed to mount API filesystems, freezing. > Freezing execution. See upstream commit: lxc-1.1.0.rc3-12-gf24a52d [Use consistent /proc, /sys and /sys/fs/cgroup (v2)] --- conf/debian-jessie | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/debian-jessie b/conf/debian-jessie index 68d3a5a..e66b5fe 100644 --- a/conf/debian-jessie +++ b/conf/debian-jessie @@ -6,8 +6,7 @@ lxc.kmsg = 0 lxc.pivotdir = lxc_putold # Default mount entries -lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0 -lxc.mount.entry = sysfs sys sysfs defaults 0 0 +lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed # Default console settings lxc.tty = 4