I've been trying to setup an environment to build Chromium OS using a Ubuntu 10.04 guest. The goals are to setup an isolated setup that can still gather the full resources the machine can provide. The host is Ubuntu 11.04. Anyways whenever I try to build the chroot environment that is used by Chromium OS python halts with a function not implemented error. Is this a limitation of lxc, a bug, or something I'm doing wrong?<br>
<br>Thanks for any information you can provide.<br><br>uname -a<br>Linux shinji-linux 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux<br><br>lxc guest fstab<br>proc /var/lib/lxc/lucid/rootfs/proc proc nodev,noexec,nosuid 0 0<br>
sysfs /var/lib/lxc/lucid/rootfs/sys sysfs defaults 0 0<br>none /var/lib/lxc/lucid/rootfs/var/run tmpfs defaults 0 0<br>none /var/lib/lxc/lucid/rootfs/dev/shm tmpfs defaults 0 0<br>
<br>lxc guest config<br>lxc.arch=x86_64<br>lxc.utsname = lucid<br><br>lxc.network.type=veth<br>lxc.network.flags=up<br>lxc.network.link=virbr0<br><br>lxc.tty = 4<br>lxc.pts = 1024<br>lxc.rootfs = /var/lib/lxc/lucid/rootfs<br>
lxc.mount = /var/lib/lxc/lucid/fstab<br><br>lxc.cgroup.devices.deny = a<br>lxc.cgroup.devices.allow = c 1:3 rwm<br>lxc.cgroup.devices.allow = c 1:5 rwm<br>lxc.cgroup.devices.allow = c 5:1 rwm<br>lxc.cgroup.devices.allow = c 5:0 rwm<br>
lxc.cgroup.devices.allow = c 4:0 rwm<br>lxc.cgroup.devices.allow = c 4:1 rwm<br>lxc.cgroup.devices.allow = c 1:9 rwm<br>lxc.cgroup.devices.allow = c 1:8 rwm<br>lxc.cgroup.devices.allow = c 136:* rwm<br>lxc.cgroup.devices.allow = c 5:2 rwm<br>
lxc.cgroup.devices.allow = c 254:0 rwm<br><br>lxc.cap.drop = sys_time<br><br>python crash<br>Traceback (most recent call last):<br> File "/home/shinji/trunk/chromite/bin/parallel_emerge", line 116, in <module><br>
KILLED = multiprocessing.Event()<br> File "/usr/lib64/python2.6/multiprocessing/__init__.py", line 206, in Event<br> return Event()<br> File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 268, in __init__<br>
self._cond = Condition(Lock())<br> File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 117, in __init__<br> SemLock.__init__(self, SEMAPHORE, 1, 1)<br> File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 49, in __init__<br>
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)<br>OSError: [Errno 38] Function not implemented<br><br clear="all">Robert Pendell<br>
<a href="mailto:shinji@elite-systems.org" target="_blank">shinji@elite-systems.org</a><br>
CAcert Assurer<br>
"A perfect world is one of chaos."<br>
<br>