Subject: Re: [vserver] cgroups soon incompatible with Libvirt
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Mon, 23 Dec 2013 14:42:41 +0100

Hi Ben,

Ben Green wrote:
> Hi all,
>
> I got this in my Debian updates today. It relates to libvirt, and its
> use of cgroups:
>
>    If you're using cgroups make sure you're using a different mount per
> cgroup
>    controller (cpu, memory, ...) that is mounted to
> /sys/fs/cgroup/<controller>.
>    This can be achieved using mount_cgroups in /etc/default/libvirt-bin or
> by
>    using systemd. Using a single mount point /sys/fs/cgroup for all
> controllers
>    will no longer work and will prevent vms from starting. See
>
>    http://libvirt.org/cgroups.html
>
>    for more information. If you're not using cgroups nothing has to be
> changed.
>
> Essentially this means that the cgroup structure libvirt will demand
> is different to that which util-vserver demands. This will cause
> trouble for those with mixed environments. Is anything being done
> util-vserver side to adapt to this?

The per-ss setting has existed for quite some time now to enable this
structure.

Daniel

> Cheers,
> Ben
>