LXD cgroups will not show up


I have used lxc config edit to include `lxc.mount.auto = cgroup:mixed’ on my container (in the raw.lxc section). Should I see a hierarchy of files and folders now in the container under /sys/fs/cgroup?

Saving and existing takes the configuration just fine. Restarting and rebooting does not help.

Can I get some tips on debugging this?

If on a kernel which supports cgroup namespacing, liblxc will not mount any cgroups for you, instead letting your init system in the container take care of that.

1 Like