1

I attempted to create an lxc container on my BQ Aquarius M10 as follows:

libertine-container-manager create -t lxc -d vivid -i lxc

After being asked for and entering my password the following was the result:

Traceback (most recent call last):
File "/usr/bin/libertine-container-manager", line 758, in <module>
args.func(args)
File "/usr/bin/libertine-container-manager", line 387, in create
container = LibertineContainer(args.id)
File "/usr/lib/python3/dist-packages/libertine/Libertine.py", line 281, in __init__
from  libertine.LxcContainer import LibertineLXC
ImportError: No module named 'libertine.LxcContainer'

Can anyone explain this?

Just to note - I am running OTA-11 and ssh'd into my tablet to get around any restricted terminal issues.

Hizqeel
  • 1,895
Jack
  • 532

1 Answers1

1

Usermode LXC is not supported on Linux 3.10, so the LXC back end of Libertine isn't even installed on that device. If you try to force the tools to perform such an unsupported option, you get an error message telling you that the back end is not available.

The solution to this problem is don't force the tools to use an unsupported option.

Stephen M. Webb
  • 747
  • 5
  • 11
  • Thanks for that.
    I can see now that 'https://wiki.ubuntu.com/Touch/Libertine' does say that most ubuntu-touch hardware doesn't support LXC containers.
    I haven't been able to find much documentation on how containers are supposed to work, or what the planned development for them is. Coud you point me to anything?
    – Jack Jul 05 '16 at 11:14
  • @Stephen M. Webb Thank you for the answer. Do you know by any chance about the current situation re lxc/lxd support on ubuntu-touch? I was trying to set-up a web-server on my old Nexus 4, but couldn't manage to run lxc (my project is lxc-based). I've asked the question here, but it currently leads me away from ubuntu-touch in the other direction. Thank you. – Dmitry Somov May 23 '19 at 06:17
  • I am also relying on the old post by Stéphane Graber - section "LXC on Android devices". According to him LXC support on Android devices hasn't been a priority, although it was generally possible... – Dmitry Somov May 23 '19 at 07:02