[pkg-lxc-devel] Bug#844086: Bug#844086: lxc: On "sysv-init", fail to initialize cgroup since "cgmanager" support dropped.

Evgeni Golov evgeni at debian.org
Sat Nov 12 10:55:49 UTC 2016


Hi,

On Sat, Nov 12, 2016 at 11:35:21AM +0100, Thibaut Chèze wrote:

> After an upgrade from /1:2.0.4-1/, lxc containers fails to start on
> /SysV init/.
> It seems that it is following the removal of "cgmanager" support.

Right.

> A workaround is to install the "cgroupfs-mount" package or manually
> mount /cgroups/.

Yupp, I forgot that when I ripped out cgmanager, sorry.

> Could you add some information to help ? Maybe update dependencies
> (recommended or suggested, like previously "cgmanager") on "systemd" or
> "cgroupfs-mount" for /cgroups/ settings.
> Note: On my system, "systemd" is installed (required by other services),
> but is not used as /init/.

https://anonscm.debian.org/cgit/pkg-lxc/lxc.git/commit/?id=4f5f71fb39d52a7c0927fb10709c592e39cfe300

Sadly we cannot detect if systemd is pid1 for dependencies (as not everybody
has systemd-sysv installed when running systemd as init).

Regards
Evgeni



More information about the Pkg-lxc-devel mailing list