Actually to get this working I only needed to use this:
# Mount cgroup in rw to get snaps working
lxc.mount.auto=cgroup:rw
No need to have whole sys and proc as rw (as the problem is due to the snap to try chowning `/sys/fs/cgroup/freezer/snap.*` dirs, however I'm wondering if there's a better way to do this inside the container itself, since this way I guess that two containers sharing the host would have troubles, isn't it?
Actually to get this working I only needed to use this:
# Mount cgroup in rw to get snaps working auto=cgroup: rw
lxc.mount.
No need to have whole sys and proc as rw (as the problem is due to the snap to try chowning `/sys/fs/ cgroup/ freezer/ snap.*` dirs, however I'm wondering if there's a better way to do this inside the container itself, since this way I guess that two containers sharing the host would have troubles, isn't it?