I am running a custom systemd-nspawn service in linux with a custom rootfs designed for it. I am able to start the container successfully and everything is working fine. But when check the status of systemd-nspawn service. I get following error.
systemd-nspawn[1896]: Failed to create /init.scope control group: Permission denied systemd-nspawn[1896]: Failed to allocate manager object: Permission denied systemd-nspawn[1896]: [!!!!!!] Failed to allocate manager object, freezing. Freezing execution.
Currently pointless. Dont know how to resolve it.