<div dir="ltr"><div>Hi,<br><br>I'm running into an issue on LXD 2.0.9  mapping multiple user ids:<br><br>Both the following commands achieve the desired effect:</div><div><br></div><div>echo -e "both 1002 1002" | lxc config set quants01 raw.idmap -</div><div>echo -e "both 2003 2003" | lxc config set quants01 raw.idmap -</div><div><br></div><div>However after setting the idmap following</div><div><br></div><div>echo -e "both 2003 2003\nboth 1002 1002" | lxc config set quants01 raw.idmap -</div><div><br></div><div>the container fails to restart. <br></div><div><br></div><div>thanks for your help</div><div>vlad<br></div><div><br></div><div>error: Error calling 'lxd forkstart quants01 /var/lib/lxd/containers /var/log/lxd/quants01/lxc.conf': err='exit status 1'<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-1: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-2: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-3: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-4: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-5: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-6: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-7: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-8: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-9: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-10: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-11: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-12: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-13: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-14: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-15: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-16: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-17: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-18: No such file or directory<br>  lxc 20171109133025.763 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1072 - No such file or directory - Failed to create /sys/fs/cgroup/cpuset//lxc/quants01-19: No such file or directory<br>  lxc 20171109133025.786 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133025.786 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsns_chown:1194 - Error requesting cgroup chown in new namespace<br>  lxc 20171109133025.813 ERROR lxc_start - start.c:__lxc_start:1354 - failed to spawn 'quants01'<br>  lxc 20171109133026.387 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1<br>  lxc 20171109133026.387 ERROR lxc_start - start.c:lxc_fini:555 - failed to run post-stop hooks for container 'quants01'.<br>  lxc 20171109133026.390 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.390 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/cpuset//lxc/quants01-20<br>  lxc 20171109133026.392 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.392 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/cpu//lxc/quants01-20<br>  lxc 20171109133026.395 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.395 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/cpuacct//lxc/quants01-20<br>  lxc 20171109133026.398 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.398 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/blkio//lxc/quants01-20<br>  lxc 20171109133026.401 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.401 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/memory//lxc/quants01-20<br>  lxc 20171109133026.404 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.404 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/devices//lxc/quants01-20<br>  lxc 20171109133026.406 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.406 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/freezer//lxc/quants01-20<br>  lxc 20171109133026.409 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.409 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/net_cls//lxc/quants01-20<br>  lxc 20171109133026.412 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.412 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/perf_event//lxc/quants01-20<br>  lxc 20171109133026.414 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.414 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/net_prio//lxc/quants01-20<br>  lxc 20171109133026.417 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.417 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/hugetlb//lxc/quants01-20<br>  lxc 20171109133026.419 ERROR lxc_conf - conf.c:userns_exec_1:4334 - Error setting up child mappings<br>  lxc 20171109133026.419 ERROR lxc_cgfsng - cgroups/cgfsng.c:recursive_destroy:983 - Error destroying /sys/fs/cgroup/systemd//lxc/quants01-20<br><br></div></div>