Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[all variants] Chroot and LXC in Android

$
0
0
I've tried to follow the path written here http://askubuntu.com/questions/15072...oot-on-android , but trying to solve the lack of a LXC port to bionic component in the folowing way:

1. Copy an Ubuntu's debootstrap to an android system (Linux 3.0.15)
2. Chroot into it.
3. Install lxc.
4. Run an LXC container inside.

BUT:
Quote:

Setting up lxc (0.8.0~rc1-4ubuntu37) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: initscript lxc, action "start" failed.
dpkg: error processing lxc (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up cgroup-lite (1.5) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: initscript cgroup-lite, action "start" failed.
dpkg: error processing cgroup-lite (--configure):
subprocess installed post-installation script returned error exit status 1
I want to have Ubuntu services running in an Android-ARM environment, but in a Chroot Upstart doesn't work. Then I'm trying to install LXC in a Chroot environment, and have a complete working container (with Upstart running).

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>