lxc: delay setup of cgroup until we have the init pid
Don't create the cgroups ahead of launching the container since there is no need for the limits to apply during initial bootstrap. Create the cgroup after the container PID is known and tell systemd the initpid is the leader, instead of the controller pid.
Showing
想要评论请 注册 或 登录