[lxc-devel] Howto user namespaces?

richard -rw- weinberger richard.weinberger at gmail.com
Wed Apr 10 21:10:44 UTC 2013


On Wed, Apr 10, 2013 at 8:55 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Quoting richard -rw- weinberger (richard.weinberger at gmail.com):
>> This one?
>> https://launchpad.net/~ubuntu-lxc/+archive/kernel/+packages
>>
>> I'm not an Ubuntu guy and not very familiar with this ppa thingy.
>> Isn't there a git repo to find out what the differences between mainline are?
>
> http://kernel.ubuntu.com/git?p=serge/quantal-userns.git;a=summary

Using this kernel I face exactly the same issue.

[pid  3100] access("//lib64/lxc/rootfs/dev/console", F_OK) = 0
[pid  3100] stat("//lib64/lxc/rootfs/dev/console",
{st_mode=S_IFCHR|0644, st_rdev=makedev(5, 1), ...}) = 0
[pid  3100] chmod("/dev/pts/5", 020644) = -1 EPERM (Operation not permitted)

I'm using the opensuse-template.
Do I need special setting in the container config?
I'm only aware of the uid mappings so far.

What template are you using and can you please share a config file?

--
Thanks,
//richard




More information about the lxc-devel mailing list