Finally some time to check more. Using new /etc/init/lxc-android-config.conf from Stephane http://paste.ubuntu.com/15264484/
When running manually $ lxc-start -n android -F -- /init I can see init process be created, but then it exits. Also there are no logs in syslog or /proc/kmesg So looks like init is super unhappy inside the container and does not do much. But because it actually tries to run, following passes fine lxc-wait -n android -s RUNNING -t 30 containerpid="$(lxc-info -n android -p -H)" if [ -n "$containerpid" ]; then and tries to continue with boot, while container actually fails to boot. Is there way we can get more logs from running container, I tried this: lxc-start -l 0 -n android -F -- /init rm: cannot remove '/var/lib/lxc/android/rootfs/sbin/adbd': No such file or directory run-parts: /var/lib/lxc/android/pre-start.d/10-no-adbd exited with return code 1 sed: can't read /var/lib/lxc/android/rootfs/init.manta.usb.rc: No such file or directory cp: cannot stat '/var/lib/lxc/android/overrides/*': No such file or directory mkfifo: cannot create fifo '/dev/socket/micshm': File exists -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1551150 Title: devel-proposed - android lxc container fails to start Status in Canonical System Image: Confirmed Status in lxc package in Ubuntu: New Bug description: Last known good image: ubuntu-touch/devel-proposed/ubuntu/mako 446 ubuntu-touch/devel-proposed/ubuntu/mako 447 (and higher) and equivalent images on other devices do not boot and hang on the boot logo. From the list of changes, it could be lxc: 446: lxc 2.0.0~rc2-0ubuntu2 447: lxc 2.0.0~rc3-0ubuntu1 Latest image with 2.0.0~rc4-0ubuntu1 doesn't boot either. lxc (2.0.0~rc3-0ubuntu1) xenial; urgency=medium * New upstream release (2.0.0~rc3) - Make the cgfs backend and cgns work without cgmanager - Manpage updates - Mark lxc-clone and lxc-start-ephemeral deprecated (still included) * Set --enable-deprecated so we still ship lxc-clone and lxc-start-ephemeral lxc (2.0.0~rc2-0ubuntu3) xenial; urgency=medium * Use versioned dependencies against the various binary packages. * Update lxc-templates to depend on lxc1 not lxc. (LP: #1549136) * Move the lxcfs recommends from lxc-templates to liblxc1. * Drop cgmanager, use the cgfs backend instead. * Have liblxc1 depend on systemd | cgroup-lite for cgfs backend. Device tarballs between 446 and 447 are the same. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp