Basically it looks like that "something" doesn't like the cgroups being
mounted on the phone. Immediately after udev starts, every process gets
a SIGKILL and the phone goes down.

We do need the cgroups filesystems to be mounted for LXC to be happy
though, but we don't need them visible after that (since cgmanager is
running anyway).

So my workaround is to tweak lxc-android-config.conf a bit, first to
make it start the container in the background which lets us get useful
debug output in the upstart log should it fail again, second, shuffle
the cgroup init code a bit in there (based on what I pasted in this bug
before) and then adding a bit of code which unmounts all the cgroup
filesystems right before emitting the android event.

New lxc-android-config.conf is attached. Tested on clean mako using
ubuntu-touch/devel-proposed channel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551150

Title:
  devel-proposed - android lxc container fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to