[lxc-devel] Howto user namespaces?

Rui Xiang rui.xiang at huawei.com
Tue Jul 9 12:32:01 UTC 2013


On 2013/7/9 19:54, Richard Weinberger wrote:
> Am 09.07.2013 13:34, schrieb Rui Xiang:
>> On 2013/7/5 19:48, Serge Hallyn wrote:
>>> Quoting Rui Xiang (rui.xiang at huawei.com):
>>>> The same issue troubles me. I try to start the container by these ways 
>>>> in the mails, but get error results too.
>>>>
>>>> So I want to know about the plan to fix it. And your some advice are 
>>>> appreciated. :)
>>>
>>> Hi,
>>>
>>> could you please start from the top explaining how you installed lxc,
>>> set up the container, started it, and what went wrong?
>>>
>> Hi,
>>
>> I got lxc sources from the repo git://github.com/lxc/lxc (lxc 0.9.0), 
>> and installed it in redhat6. The kernel version is 3.10.0.
>>

...

>> After setting lxc.tty = 0, the result was error too:
>>   lxc-start: Operation not permitted - failed to set mode '020644' to '/dev/pts/1'.
>>
>> So ashamed that I have no better ways to solve it now. :(
> 
> You may also want to try libvirt. It has it's own lxc userspace with userns support.
> We've successfully switched from (ubuntu)lxc to libvit-lxc.
> 

Seems a good method. I will have a try.:)

thanks.






More information about the lxc-devel mailing list