[lxc-devel] lxc-start fails on android

Serge Hallyn serge.hallyn at ubuntu.com
Mon Sep 23 14:34:57 UTC 2013


Quoting riya khanna (riyakhanna1983 at gmail.com):
> Hi,
> 
> I am trying to run a busybox based container on android. However, lxc-start
> fails with the following msgs. Any idea what could be wrong here? Thanks
> for your time and help!
> 
>   lxc-start 1378915396.741 WARN     lxc_start - inherited fd 8
> 
>       lxc-start 1378915396.744 WARN     lxc_start - inherited fd 9
> 
>       lxc-start 1378915396.746 INFO     lxc_apparmor - apparmor_load -
> apparmor is disabled
>       lxc-start 1378916093.262 DEBUG    lxc_console - using '/dev/tty' as
> console
>       lxc-start 1378916093.263 DEBUG    lxc_start - sigchild handler set
>       lxc-start 1378916093.264 INFO     lxc_start - 'busybox' is
> initialized
>       lxc-start 1378916093.273 DEBUG    lxc_start - Not dropping
> cap_sys_boot or watching utmp
> 
> 
>       lxc-start 1378916093.275 INFO     lxc_conf - opened
> /data/lxc/busybox/rootfs.hold as fd 15
> 
> 
>       lxc-start 1378916093.291 INFO     lxc_conf - 'busybox' hostname has
> been setup
>       lxc-start 1378916093.294 INFO     lxc_conf - looking at .37 37 0:1 /
> / rw,relatime shared:1 - rootfs rootfs rw
> .
>       lxc-start 1378916093.294 INFO     lxc_conf - now p is . /.
> 
>       lxc-start 1378916093.298 ERROR    lxc_conf - Invalid argument -
> Failed to rbind mount / to /data/usr/local/lib/lxc/ro

<shrug>  Don't know why you got EINVAL here, but this is where it really
fails.

>       lxc-start 1378916093.301 ERROR    lxc_conf - Failed to chroot into
> slave /
>       lxc-start 1378916093.301 ERROR    lxc_conf - failed to setup rootfs
> for 'busybox'
>       lxc-start 1378916093.304 ERROR    lxc_start - failed to setup the
> container
>       lxc-start 1378916093.305 ERROR    lxc_sync - invalid sequence number
> 1. expected 2
>       lxc-start 1378916093.307 ERROR    lxc_start - failed to spawn
> 'busybox'

> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk

> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel





More information about the lxc-devel mailing list