Subject: bug#426: lxc: cannot start Fedora30 and Debian Stretch in LXC containers

From: Mark Hindley <[email-masked]>
Date: Wed, 6 May 2020 09:34:42 +0100

Control: reassign -1 cgroupfs-mount
Control: tags -1 debian

On Wed, May 06, 2020 at 07:24:00AM +0900, Ryutaroh Matsumoto wrote:
> Hi Mark,
> 
> >From https://wiki.debian.org/LXC#Preparing_host_system_WITHOUT_Systemd_for_running_LXC
> 
> According to Gentoo wiki, if you want to run containers with systemd, the host also needs a name=systemd cgroup hierarchy mounted: mkdir -p /sys/fs/cgroup/systemd; mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd.
> 
> With that, lxc-checkconfig no longer complains and containers with systemd are able to start.
> 
> This was reported to package cgroupfs-mount in bug #939435 (patch included).

Well done for your persitence and finding a solution!

Reassigning and tagging.

Thanks

Mark