Comment 37 for bug 1551150

Revision history for this message
Stéphane Graber (stgraber) wrote :

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.