Memory swap account not working on ubuntu 14.04.2

Hello everybody!

I’m using ubuntu 14.04.2 . I saw that recently swap support was broken, maybe with a recent kernel upgrade?

On a fresh install:

cat /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="cgroup_enable=memory swapaccount=1"
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"

Still there is no swap support:

root@sirius:~# docker info
Containers: 0
Images: 0
Storage Driver: btrfs
Execution Driver: native-0.2
Kernel Version: 3.13.0-48-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 8
Total Memory: 31.33 GiB
Name: sirius.servermeta.net
ID: XXXX:XXXX:XXXX:XXXX:XXXX
WARNING: No swap limit support

what am I doing wrong? anyone else experiencing this?

the issue was due to an old copy of the kernel, on a not mounted disk, which anyhow was causing issues. I dont know why linux still detected it, but hard wiping the disk fixed the issue.