<div dir="ltr"><div>Hello, I'm trying to run lxc on my Android device, I've installed latest Cyanogenmod 11 and recompiled kernel enabling all necessary features.</div><div>I used precompiled lxc-android tarball, tried 1.0.0 and recent one from Jenkins server.</div>
<div>Then I try to start simple busybox container with lxc-start I got such error:</div><div><br></div><div>root@grouper:/data/lxc # lxc-start -n busybox                                </div><div>lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; continuing</div>
<div>lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; continuing</div><div>lxc-start: Invalid argument - Failed to rbind mount / to /data/lxc/lxc/lib/lxc/rootfs/root</div><div>lxc-start: Failed to chroot into slave /</div>
<div>lxc-start: Error setting up rootfs mount after spawn</div><div>lxc-start: failed to setup the container</div><div>lxc-start: invalid sequence number 1. expected 2</div><div>lxc-start: failed to spawn 'busybox'</div>
<div><br></div><div>And here is log file:</div><div><br></div><div>lxc-start 1401831565.512 INFO     lxc_start_ui - using rcfile /data/lxc/containers/busybox/config</div><div>      lxc-start 1401831565.515 WARN     lxc_log - lxc_log_init called with log already initialized</div>
<div>      lxc-start 1401831565.517 WARN     lxc_start - inherited fd 9</div><div>      lxc-start 1401831565.517 WARN     lxc_start - inherited fd 11</div><div>      lxc-start 1401831565.519 DEBUG    lxc_conf - allocated pty '/dev/pts/1' (5/6)</div>
<div>      lxc-start 1401831565.519 INFO     lxc_conf - tty's configured</div><div>      lxc-start 1401831565.520 DEBUG    lxc_start - sigchild handler set</div><div>      lxc-start 1401831565.521 DEBUG    lxc_console - opening /dev/tty for console peer</div>
<div>      lxc-start 1401831565.521 DEBUG    lxc_console - using '/dev/tty' as console</div><div>      lxc-start 1401831565.522 DEBUG    lxc_console - 2678 got SIGWINCH fd 13</div><div>      lxc-start 1401831565.522 DEBUG    lxc_console - set winsz dstfd:8 cols:0 rows:0</div>
<div>      lxc-start 1401831565.522 INFO     lxc_start - 'busybox' is initialized</div><div>      lxc-start 1401831565.536 DEBUG    lxc_start - Dropping cap_sys_boot</div><div>      lxc-start 1401831565.536 INFO     lxc_cgroup - cgroup driver cgroupfs initing for busybox</div>
<div>      lxc-start 1401831565.539 ERROR    lxc_cgfs - Device or resource busy - failed to set memory.use_hierarchy to 1; continuing</div><div>      lxc-start 1401831565.541 ERROR    lxc_cgfs - Device or resource busy - failed to set memory.use_hierarchy to 1; continuing</div>
<div>      lxc-start 1401831565.555 DEBUG    lxc_start - Dropped cap_sys_boot</div><div>      lxc-start 1401831565.558 ERROR    lxc_conf - Invalid argument - Failed to rbind mount / to /data/lxc/lxc/lib/lxc/rootfs/root</div>
<div>      lxc-start 1401831565.559 ERROR    lxc_conf - Failed to chroot into slave /</div><div>      lxc-start 1401831565.559 ERROR    lxc_conf - Error setting up rootfs mount after spawn</div><div>      lxc-start 1401831565.559 ERROR    lxc_start - failed to setup the container</div>
<div>      lxc-start 1401831565.559 ERROR    lxc_sync - invalid sequence number 1. expected 2</div><div>      lxc-start 1401831565.577 ERROR    lxc_start - failed to spawn 'busybox'</div><div><br></div><div><br></div>
<div>Did anybody face with such problem? </div><div>Thanks.</div></div>