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

Jean-Michel Vourgère nirgal at debian.org
Fri Oct 20 13:09:34 UTC 2017


> > 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?

Exactly. cgroupfs-mount was not installed and installing it fixed my issue.

Maybe the dependency could be adjusted?
What about
	Depends: cgroupfs-mount | systemd-sysv
?

When you install sysvinit-core, systemd-sysv gets removed. And vice-versa.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxc-devel/attachments/20171020/b07831e4/attachment.sig>


More information about the Pkg-lxc-devel mailing list