Hi, [...] > Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create > /init.scope control group: Operation not permitted [...] > Then I try it with > > debootstrap --variant=minbase --include > systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch > /var/lib/machines/foo > > it work as expected. > > Any ideas?
This may be related to systemd<236 in the container. I would try one of the workarounds mentionned in https://github.com/systemd/systemd/issues/9563 : - passing systemd.legacy_systemd_cgroup_controller=yes to systemd via Parameters= - try with systemd-nspawn ... --private-users=0 --private-users-chown Alex