[Lxc-users] Need simple configuration for embedded ARM LXC

Somnath Mitra somnath.mitra at xockets.com
Sun Apr 14 14:54:32 UTC 2013


On Fri, Apr 12, 2013 at 3:36 PM, Somnath Mitra <somnath.mitra at xockets.com>wrote:

> On Fri, Apr 12, 2013 at 6:53 AM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:
>
>> Quoting Somnath Mitra (somnath.mitra at xockets.com):
>>
>  > Since the container rootfs is shared with host I am confused why it
>> cannot
>> > find lxc-init?
>>
>> Sounds like a compilation/packaging problem.  It works for me
>> here, with ubuntu raring:
>>
>> cat > lxc.conf << EOF
>> lxc.utsname = beta
>> lxc.network.type = empty
>> lxc.rootfs = /
>> lxc.aa_profile = unconfined
>> EOF
>>
>> sudo lxc-execute -n foobar -f lxc.conf -l info -o outout -- ps -ef
>> UID        PID  PPID  C STIME TTY          TIME CMD
>> root         1     0  0 08:46 pts/1    00:00:00
>> /usr/lib/x86_64-linux-gnu/lxc/lxc-init -- ps -ef
>> root         2     1  0 08:46 pts/1    00:00:00 ps -ef
>>
>> (an interactive shell doesn't work - just hangs, I don't use
>> lxc-execute so always forget what is expect to work and what
>> isn't)
>>
>
> Hangs for me too (on the embedded board). Can you comment on possible root
> cause or workaround so we can investigate. My target application shall need
> stdin, stdout and, possibly, stderr.
>
> I have created Issue #3610837 for this.
https://sourceforge.net/tracker/?func=detail&aid=3610837&group_id=163076&atid=826303
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130414/6c977273/attachment.html>


More information about the lxc-users mailing list