[lxc-devel] Howto user namespaces?

Eric W. Biederman ebiederm at xmission.com
Thu Apr 11 05:03:19 UTC 2013


richard -rw- weinberger <richard.weinberger at gmail.com> writes:

> 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 am puzzled why we don't see something to create /dev/pts/5 in this trace.

> 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?

Eric




More information about the lxc-devel mailing list