[pkg-lxc-devel] Bug#869892: Using sysv, lxc-start fails while trying to create cgroup

Evgeni Golov evgeni at debian.org
Sat Sep 16 11:00:23 UTC 2017


Hi,

On Thu, Jul 27, 2017 at 01:03:51PM +0000, Jean-Michel Vourgère wrote:
> I finally had it working by adding
> "cgroup  /sys/fs/cgroup  cgroup  defaults  0   0"
> to my /etc/fstab
> 
> A little note in /usr/share/doc or elsewhere would be nice.

This is why liblxc1 has a "Depends: cgroupfs-mount | systemd", as
cgroupfs-mount should be used to mount cgroupfs on non-systemd systems.
(I say should, as it is perfectly fine to do it otherwise, just
cgroupfs-mount is what we have tested).

I guess in your case the systemd binary is installed (but not used as
init) and thus the dependency did not trigger?

Evgeni



More information about the Pkg-lxc-devel mailing list