[lxc-users] LXC on Android, can't start container
Oleksii Kriuchykhin
ko214 at greenwich.ac.uk
Tue Jun 3 21:44:16 UTC 2014
Hello, I'm trying to run lxc on my Android device, I've installed latest
Cyanogenmod 11 and recompiled kernel enabling all necessary features.
I used precompiled lxc-android tarball, tried 1.0.0 and recent one from
Jenkins server.
Then I try to start simple busybox container with lxc-start I got such
error:
root at grouper:/data/lxc # lxc-start -n busybox
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to
1; continuing
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to
1; continuing
lxc-start: Invalid argument - Failed to rbind mount / to
/data/lxc/lxc/lib/lxc/rootfs/root
lxc-start: Failed to chroot into slave /
lxc-start: Error setting up rootfs mount after spawn
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'busybox'
And here is log file:
lxc-start 1401831565.512 INFO lxc_start_ui - using rcfile
/data/lxc/containers/busybox/config
lxc-start 1401831565.515 WARN lxc_log - lxc_log_init called with
log already initialized
lxc-start 1401831565.517 WARN lxc_start - inherited fd 9
lxc-start 1401831565.517 WARN lxc_start - inherited fd 11
lxc-start 1401831565.519 DEBUG lxc_conf - allocated pty
'/dev/pts/1' (5/6)
lxc-start 1401831565.519 INFO lxc_conf - tty's configured
lxc-start 1401831565.520 DEBUG lxc_start - sigchild handler set
lxc-start 1401831565.521 DEBUG lxc_console - opening /dev/tty for
console peer
lxc-start 1401831565.521 DEBUG lxc_console - using '/dev/tty' as
console
lxc-start 1401831565.522 DEBUG lxc_console - 2678 got SIGWINCH fd
13
lxc-start 1401831565.522 DEBUG lxc_console - set winsz dstfd:8
cols:0 rows:0
lxc-start 1401831565.522 INFO lxc_start - 'busybox' is initialized
lxc-start 1401831565.536 DEBUG lxc_start - Dropping cap_sys_boot
lxc-start 1401831565.536 INFO lxc_cgroup - cgroup driver cgroupfs
initing for busybox
lxc-start 1401831565.539 ERROR lxc_cgfs - Device or resource busy
- failed to set memory.use_hierarchy to 1; continuing
lxc-start 1401831565.541 ERROR lxc_cgfs - Device or resource busy
- failed to set memory.use_hierarchy to 1; continuing
lxc-start 1401831565.555 DEBUG lxc_start - Dropped cap_sys_boot
lxc-start 1401831565.558 ERROR lxc_conf - Invalid argument -
Failed to rbind mount / to /data/lxc/lxc/lib/lxc/rootfs/root
lxc-start 1401831565.559 ERROR lxc_conf - Failed to chroot into
slave /
lxc-start 1401831565.559 ERROR lxc_conf - Error setting up rootfs
mount after spawn
lxc-start 1401831565.559 ERROR lxc_start - failed to setup the
container
lxc-start 1401831565.559 ERROR lxc_sync - invalid sequence number
1. expected 2
lxc-start 1401831565.577 ERROR lxc_start - failed to spawn
'busybox'
Did anybody face with such problem?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140603/04c47024/attachment.html>
More information about the lxc-users
mailing list