The problem appears to be around line 102 of the lxc-checkconfig script. echo -n "Cgroup memory controller: "
is followed by a slightly flawed check for kernel version... if [ $KVER_MAJOR -ge 3 -a $KVER_MINOR -ge 6 ]; then is_enabled CONFIG_MEMCG else is_enabled CONFIG_CGROUP_MEM_RES_CTLR fi The test - $KVER_MAJOR -ge 3 - passes, as this will be '4'. The test - $KVER_MINOR -ge 6 - will fail, as the minor is '0'. Likely a more robust test is to test for CONFIG_CGROUP_MEM_RES_CTLR in kernel-3.6 + below. The 4.0.7 kernel config file shows... config-4.0.7-040007-generic:CONFIG_MEMCG=y config-4.0.7-040007-generic:CONFIG_MEMCG_SWAP=y config-4.0.7-040007-generic:# CONFIG_MEMCG_SWAP_ENABLED is not set config-4.0.7-040007-generic:CONFIG_MEMCG_KMEM=y Which is correct, as CONFIG_CGROUP_MEM_RES_CTLR seems to have been deprecated. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1471358 Title: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller Status in linux package in Ubuntu: Incomplete Bug description: net8-rmt# uname -a Linux ns515383.ip-167-114-159.net 4.0.7-040007-generic #201507031036 SMP Fri Jul 3 10:37:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux net8-rmt# lxc-checkconfig | grep missing Cgroup memory controller: missing net8-rmt# grep cgroup /proc/mounts | grep memory cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory,release_agent=/run/cgmanager/agents/cgm-release-agent.memory 0 0 So it appears the memory controller is available + lxc-checkconfig just fails to report it correctly. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp