[lxc-users] lxc 2.0.7: sysvinit on the host breaks systemd based containers

Harald Dunkel harald.dunkel at aixigo.de
Thu May 18 08:04:40 UTC 2017


On 05/16/17 13:09, Harald Dunkel wrote:
> 
> I did serveral tests with LXC 2.0.8 on the host and systemd on the
> client: Both systemd 215-17+deb8u7 (Debian 8) and systemd 230-7~bpo8+2
> (Debian 8 backport) show this problem. cgroupfs-mount 1.3 is installed.
> 
> If I ditch LXC 2.x and cgroupfs-mount and use LXC 1.1.5 and /cgroup
> instead, then the same systemd-based container boots without problems.
> 
> If I install cgroupfs-mount again, then the systemd-based container
> still works.
> 
> If I remove /cgroup from /etc/fstab (still using cgroupfs-mount), then
> the systemd-based container still works.
> 
> Of course the host was rebooted between each of these steps. Obviously
> the old lxc 1.1.5 is more stable here.
> 

PS:

cgmanager and systemd-shim (whatever that is) were not installed,
either. Installing cgmanager seems to resolve the problem. Its not
in lxc's dependency list, but I wonder if this tool is a must-have?


Regards
Harri


More information about the lxc-users mailing list