So the reason why this happens is that internally the id mapping you
requested will look like this:

NSID HOSTID  RANGE
0    1000000 999
999  999     1
1000 1001000 1
1001 1001    1
1002 1001002 999998998

However, the mappings don't include a mapping for UID 0 with which LXD
sets up the container. LXC will internally add the missing mapping for
UID 0 which means you are trying to write 6 mappings to the
corresponding files in proc. But user namespaces currently enforce a
limit of 5 limits.


** Changed in: lxd (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692111

Title:
  Unable to configure raw.id_map with multiple entries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1692111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to