Fwiw, I ran into another problem, different from the originally reported here. This time the error happened when I tried to start the nested container. It's well described here: https://lists.linuxcontainers.org/pipermail/lxc-users/2014-April/006584.html and the solution in that thread worked for me. That is, using lxc.auto.mount = cgroups in /var/lib/lxc/juju-trusty-template/config avoids the following error:
lxc-start: cgroupfs failed to detect cgroup metadata
lxc-start: failed initializing cgroup support
Fwiw, I ran into another problem, different from the originally reported here. This time the error happened when I tried to start the nested container. It's well described here: https:/ /lists. linuxcontainers .org/pipermail/ lxc-users/ 2014-April/ 006584. html and the solution in that thread worked for me. That is, using lxc.auto.mount = cgroups in /var/lib/ lxc/juju- trusty- template/ config avoids the following error:
lxc-start: cgroupfs failed to detect cgroup metadata
lxc-start: failed initializing cgroup support