Displaying 2 results from an estimated 2 matches for "root_inside".
Did you mean:
root_inode
2014 Jan 29
1
Re: Libvirt-LXC + systemd + user namespace
...like it has still
> got the CAP_MKNOD permission and so is strying to start things it should
> not have like udev, and various filesystems.
>
> Daniel
I was able to reduce the problem by not using libvirt nor systemd.
I've created a bash process inside user namespace with mapping
root_inside<->root_outside.
I've used a program from https://lwn.net/Articles/532593/ :
./userns_child_exec -U -M '0 0 1' -G '0 0 1' bash
This program simply calls clone with CLONE_NEWUSER flag and set proper
uid_map and gid_map.
The test commands are as follows:
mkdir /test
mount d...
2014 Jan 28
2
Libvirt-LXC + systemd + user namespace
Hi there!
I am trying to turn on user namespace by adding following lines to the
config:
<idmap>
<uid start='0' target='0' count='100000'/>
<gid start='0' target='0' count='100000'/>
</idmap>
As you can see the root in container is mapped to the root outside. I was
expected to see no difference