Skip to content

Instantly share code, notes, and snippets.

@AntelopeSalad
Created July 16, 2014 11:45
Show Gist options
  • Save AntelopeSalad/dc717c328d5d9dd32fba to your computer and use it in GitHub Desktop.
Save AntelopeSalad/dc717c328d5d9dd32fba to your computer and use it in GitHub Desktop.
I followed the steps here , https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1335418 , all commands were ran as root -- ie., sudo lxc-start -n test
lxc-start 1405510954.593 INFO lxc_start_ui - using rcfile /var/lib/lxc/test/config
lxc-start 1405510954.594 WARN lxc_log - lxc_log_init called with log already initialized
lxc-start 1405510954.594 INFO lxc_lsm - LSM security driver AppArmor
lxc-start 1405510954.594 DEBUG lxc_conf - allocated pty '/dev/pts/4' (5/6)
lxc-start 1405510954.594 DEBUG lxc_conf - allocated pty '/dev/pts/9' (7/8)
lxc-start 1405510954.594 DEBUG lxc_conf - allocated pty '/dev/pts/13' (9/10)
lxc-start 1405510954.595 DEBUG lxc_conf - allocated pty '/dev/pts/16' (11/12)
lxc-start 1405510954.595 INFO lxc_conf - tty's configured
lxc-start 1405510954.595 DEBUG lxc_start - sigchild handler set
lxc-start 1405510954.595 DEBUG lxc_console - opening /dev/tty for console peer
lxc-start 1405510954.595 DEBUG lxc_console - using '/dev/tty' as console
lxc-start 1405510954.595 DEBUG lxc_console - 12471 got SIGWINCH fd 17
lxc-start 1405510954.595 DEBUG lxc_console - set winsz dstfd:14 cols:161 rows:39
lxc-start 1405510954.595 INFO lxc_start - 'test' is initialized
lxc-start 1405510954.604 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp
lxc-start 1405510954.608 DEBUG lxc_conf - instanciated veth 'vethMP7MN6/vethD3RIL6', index is '25'
lxc-start 1405510954.608 INFO lxc_cgroup - cgroup driver cgroupfs initing for test
lxc-start 1405510954.608 ERROR lxc_cgfs - No such file or directory - failed to read /sys/fs/cgroup/lxc/cpuset.cpus
lxc-start 1405510954.608 ERROR lxc_cgfs - Failed to initialize cpuset for '/lxc' in '/sys/fs/cgroup'.
lxc-start 1405510954.609 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user/c2.session
lxc-start 1405510954.609 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user
lxc-start 1405510954.609 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user
lxc-start 1405510954.609 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd
lxc-start 1405510954.609 ERROR lxc_cgfs - Directory not empty - cgroup_rmdir: failed to delete /sys/fs/cgroup//cgmanager
lxc-start 1405510954.609 ERROR lxc_cgfs - Operation not permitted - cgroup_rmdir: failed to delete /sys/fs/cgroup/
lxc-start 1405510954.609 ERROR lxc_start - failed creating cgroups
lxc-start 1405510954.627 ERROR lxc_start - failed to spawn 'test'
lxc-start 1405510954.627 ERROR lxc_start_ui - The container failed to start.
lxc-start 1405510954.627 ERROR lxc_start_ui - Additional information can be obtained by setting the --logfile and --log-priority options.
lxc-start: No such file or directory - failed to read /sys/fs/cgroup/lxc/cpuset.cpus
lxc-start: Failed to initialize cpuset for '/lxc' in '/sys/fs/cgroup'.
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user/c2.session
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd
lxc-start: Directory not empty - cgroup_rmdir: failed to delete /sys/fs/cgroup//cgmanager
lxc-start: Operation not permitted - cgroup_rmdir: failed to delete /sys/fs/cgroup/
lxc-start: failed creating cgroups
lxc-start: failed to spawn 'test'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and --log-priority options.
lxc-start 1405510720.005 INFO lxc_start_ui - using rcfile /var/lib/lxc/test/config
lxc-start 1405510720.006 WARN lxc_log - lxc_log_init called with log already initialized
lxc-start 1405510720.006 INFO lxc_lsm - LSM security driver AppArmor
lxc-start 1405510720.006 DEBUG lxc_conf - allocated pty '/dev/pts/4' (5/6)
lxc-start 1405510720.006 DEBUG lxc_conf - allocated pty '/dev/pts/9' (7/8)
lxc-start 1405510720.006 DEBUG lxc_conf - allocated pty '/dev/pts/13' (9/10)
lxc-start 1405510720.006 DEBUG lxc_conf - allocated pty '/dev/pts/16' (11/12)
lxc-start 1405510720.006 INFO lxc_conf - tty's configured
lxc-start 1405510720.006 DEBUG lxc_start - sigchild handler set
lxc-start 1405510720.006 DEBUG lxc_console - opening /dev/tty for console peer
lxc-start 1405510720.007 DEBUG lxc_console - using '/dev/tty' as console
lxc-start 1405510720.007 DEBUG lxc_console - 12200 got SIGWINCH fd 17
lxc-start 1405510720.007 DEBUG lxc_console - set winsz dstfd:14 cols:161 rows:39
lxc-start 1405510720.007 INFO lxc_start - 'test' is initialized
lxc-start 1405510720.020 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp
lxc-start 1405510720.026 DEBUG lxc_conf - instanciated veth 'vethEMTGNE/veth4J1DHI', index is '21'
lxc-start 1405510720.039 INFO lxc_cgroup - cgroup driver cgroupfs initing for test
lxc-start 1405510720.040 ERROR lxc_cgfs - No such file or directory - failed to read /sys/fs/cgroup/lxc/cpuset.cpus
lxc-start 1405510720.040 ERROR lxc_cgfs - Failed to initialize cpuset for '/lxc' in '/sys/fs/cgroup'.
lxc-start 1405510720.040 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user/c2.session
lxc-start 1405510720.040 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user
lxc-start 1405510720.040 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user
lxc-start 1405510720.040 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd
lxc-start 1405510720.040 ERROR lxc_cgfs - Directory not empty - cgroup_rmdir: failed to delete /sys/fs/cgroup//cgmanager
lxc-start 1405510720.040 ERROR lxc_cgfs - Operation not permitted - cgroup_rmdir: failed to delete /sys/fs/cgroup/
lxc-start 1405510720.040 ERROR lxc_start - failed creating cgroups
lxc-start 1405510720.045 ERROR lxc_start - failed to spawn 'test'
lxc-start 1405510720.045 ERROR lxc_start_ui - The container failed to start.
lxc-start 1405510720.045 ERROR lxc_start_ui - Additional information can be obtained by setting the --logfile and --log-priority options.
lxc-start 1405510727.378 INFO lxc_start_ui - using rcfile /var/lib/lxc/test/config
lxc-start 1405510727.379 WARN lxc_log - lxc_log_init called with log already initialized
lxc-start 1405510727.379 INFO lxc_lsm - LSM security driver AppArmor
lxc-start 1405510727.379 DEBUG lxc_conf - allocated pty '/dev/pts/4' (5/6)
lxc-start 1405510727.379 DEBUG lxc_conf - allocated pty '/dev/pts/9' (7/8)
lxc-start 1405510727.379 DEBUG lxc_conf - allocated pty '/dev/pts/13' (9/10)
lxc-start 1405510727.380 DEBUG lxc_conf - allocated pty '/dev/pts/16' (11/12)
lxc-start 1405510727.380 INFO lxc_conf - tty's configured
lxc-start 1405510727.380 DEBUG lxc_start - sigchild handler set
lxc-start 1405510727.380 DEBUG lxc_console - opening /dev/tty for console peer
lxc-start 1405510727.380 DEBUG lxc_console - using '/dev/tty' as console
lxc-start 1405510727.380 DEBUG lxc_console - 12279 got SIGWINCH fd 17
lxc-start 1405510727.380 DEBUG lxc_console - set winsz dstfd:14 cols:161 rows:39
lxc-start 1405510727.380 INFO lxc_start - 'test' is initialized
lxc-start 1405510727.392 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp
lxc-start 1405510727.398 DEBUG lxc_conf - instanciated veth 'vethRDJDT1/veth8JE63B', index is '23'
lxc-start 1405510727.398 INFO lxc_cgroup - cgroup driver cgroupfs initing for test
lxc-start 1405510727.398 ERROR lxc_cgfs - No such file or directory - failed to read /sys/fs/cgroup/lxc/cpuset.cpus
lxc-start 1405510727.399 ERROR lxc_cgfs - Failed to initialize cpuset for '/lxc' in '/sys/fs/cgroup'.
lxc-start 1405510727.399 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user/c2.session
lxc-start 1405510727.399 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user/1000.user
lxc-start 1405510727.399 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd/user
lxc-start 1405510727.399 ERROR lxc_cgfs - Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup//systemd
lxc-start 1405510727.399 ERROR lxc_cgfs - Directory not empty - cgroup_rmdir: failed to delete /sys/fs/cgroup//cgmanager
lxc-start 1405510727.399 ERROR lxc_cgfs - Operation not permitted - cgroup_rmdir: failed to delete /sys/fs/cgroup/
lxc-start 1405510727.399 ERROR lxc_start - failed creating cgroups
lxc-start 1405510727.420 ERROR lxc_start - failed to spawn 'test'
lxc-start 1405510727.420 ERROR lxc_start_ui - The container failed to start.
lxc-start 1405510727.420 ERROR lxc_start_ui - Additional information can be obtained by setting the --logfile and --log-priority options.
@developerinlondon
Copy link

did you find a solution to this? i seem to have this also...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment