[Pkg-sysvinit-devel] Bug#769494: Please mount cgroup automatically
Daniel Abrecht
debian at danielabrecht.ch
Wed Oct 17 20:22:41 BST 2018
Hello,
I don't think mounting cgroup is sysvinits job. Mounting cgroups can be
done using /etc/fstab and/or using the cgroupfs-mount package. I don't
mind it being always added though.
Also, I think this issue has already been solved. liblxc1, which is a
dependency of lxc, has a dependency for "cgroupfs-mount or systemd",
which means on non-systemd systems, when installing lxc or anything else
which uses liblxc1, cgroupfs-mount will get installed, which will
automatically mount the cgroups.
I don't use lxc anymore, but I used to have it working in jessie without
systemd back when I was still using it.
I am using libvirt-lxc (which has been merged into libvirt-daemon)
without systemd or lxc, though. I haven't seen a similar dependency on
libvirt-daemon yet. libvirt-daemon can be used for other things than lxc
containers, in which case cgroups don't seam to be required. I recommend
adding a recommends to the libvirt-daemon package for "cgroupfs-mount or
systemd" to account for all use cases.
To summarize, I'm for closing this bug and just adding a "cgroupfs-mount
or systemd" dependency or recommends to packages which need or benefit
from it respectively, similar to how it is done with liblxc1. For this,
a new bug could be opened for each affected packet.
This is my first mail to the debian bug tracker, I hope I was able to
help and to give some new helpful perspectives on this matter.
Regards,
Daniel Abrecht
More information about the Pkg-sysvinit-devel
mailing list