Cgroup namespaces never had a separate config entry they were always under CONFIG_CGROUPS, i.e. if you have cgroups compiled into the kernel then cgroup namespaces should be available. Afaict, lxc-checkconfig is doing nothing wrong. Specifically the CONFIG_CGROUP_NS entry was something entirely different that had nothing to do with cgroup namespaces per se.
What we can do however, is to add a new entry in lxc-checkconfig that specifically checks for cgroup namespaces by looking at /proc/self/ns/cgroup.
Hi @einfair
I am having terible time starting containers on Debian 11.
My Checkconfig also has these entries - like the one you posted
Are these missing controllers and missing CONFIG_NF_NAT_IPV the reason why I cannot start containers on Debian 11??
Thank you
braunerChristian Brauner Afaict, lxc-checkconfig is doing nothing wrong. Specifically the CONFIG_CGROUP_NS entry was something entirely different that had nothing to do with cgroup namespaces per se.
I don’t understand your statement “Afaict, lxc-checkconfig is doing nothing wrong.” It seems to me that lxc-checkconfig should not emit " Cgroup namespace: required" based on the value of CONFIG_CGROUP_NS, since that configuration variable is no longer in use (since Linux 2.6.39).
Perhaps I’m missing something in your answer, but it seems to me that any reference to the no-longer-used CONFIG_CGROUP_NS should be removed entirely from lxc-checkconfig.