Getting error in systemd-nspawn. Failed to create /init.scope control group: Permission denied. How do i solve this?

326 views Asked by At

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.

0

There are 0 answers