[lxc-users] LXC 3.0: Removal of cgmanager And cgfs cgroup Drivers

Christian Brauner christian.brauner at mailbox.org
Tue Feb 20 15:28:38 UTC 2018


On Tue, Feb 20, 2018 at 13:04:00PM +0100, Harald Dunkel wrote:

> Does this mean that lxc 3.0 is systemd-only?

No!

This has no effect whatsoever on what init system you are running. This
is completely orthogonal and to some extent always has been. In fact,
we've become even more agnostic wrt to what init binary (be it a full
init system or a simple application) can be run. Additionally, the
current cgroup driver contains logic:
- to mount cgroups for an init system that doesn't mount cgroups by
  itself (e.g.  OpenRC) even when cgroup namespaces are supported.
  Something which wasn't possible before without specifying
  lxc.mount.entry entries or running hooks.
- to mount cgroups for container that drop CAP_SYS_ADMIN (privilged and
  unprivileged) in their user namespace

Christian


More information about the lxc-users mailing list