Comment 4 for bug 1096771

Revision history for this message
Robert Collins (lifeless) wrote : Re: error 'No cgroup mounted on the system' but cgroup mounted

robertc@lifelessdesktop:~$ sudo lxc-start -n lucid-test-lp -ldebug -o /tmp/output
lxc-start: No cgroup mounted on the system
lxc-start: failed to spawn 'lucid-test-lp'
robertc@lifelessdesktop:~$ less /tmp/output
      lxc-start 1357584371.308 DEBUG lxc_conf - allocated pty '/dev/pts/3' (4/5)
      lxc-start 1357584371.308 DEBUG lxc_conf - allocated pty '/dev/pts/7' (6/7)
      lxc-start 1357584371.308 DEBUG lxc_conf - allocated pty '/dev/pts/8' (8/9)
      lxc-start 1357584371.308 DEBUG lxc_conf - allocated pty '/dev/pts/9' (10/11)
      lxc-start 1357584371.308 INFO lxc_conf - tty's configured
      lxc-start 1357584371.308 DEBUG lxc_console - using '/dev/tty' as console
      lxc-start 1357584371.308 DEBUG lxc_start - sigchild handler set
      lxc-start 1357584371.308 INFO lxc_start - 'lucid-test-lp' is initialized
      lxc-start 1357584371.312 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp

      lxc-start 1357584371.314 DEBUG lxc_conf - mac address of host interface 'vethY1hl2O' changed to private fe:0e:89:11:b6:c1
      lxc-start 1357584371.316 DEBUG lxc_conf - instanciated veth 'vethY1hl2O/vethzYYWp8', index is '19'
      lxc-start 1357584371.316 INFO lxc_conf - opened /var/lib/lxc/lucid-test-lp/rootfs.hold as fd 18

      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/' (rootfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/sys' (sysfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/proc' (proc)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/dev' (devtmpfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/dev/pts' (devpts)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/run' (tmpfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/' (ext4)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/sys/fs/fuse/connections' (fusectl)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/sys/kernel/debug' (debugfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/sys/kernel/security' (securityfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/run/lock' (tmpfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/run/shm' (tmpfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/run/user' (tmpfs)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/proc/sys/fs/binfmt_misc' (binfmt_misc)
      lxc-start 1357584371.318 DEBUG lxc_cgroup - checking '/run/user/robertc/gvfs' (fuse.gvfsd-fuse)
      lxc-start 1357584371.318 ERROR lxc_cgroup - No cgroup mounted on the system
      lxc-start 1357584371.332 ERROR lxc_start - failed to spawn 'lucid-test-lp'