Addendum: I have seen now that the setting in /etc/subuid is used as expected on all hosts but the one where root is mapped to 1'000'000. There was a wrong setting in /etc/sub[ug]id where lxd and root had the same setting. Seems that 1'000'000 is a hard coded setting when the config is wrong? But the question below remains. Do the mappings need to correspond in order to move containers around among hosts?
-----"lxc-users" <[email protected]> wrote: ----- To: LXC users mailing-list <[email protected]> From: [email protected] Sent by: "lxc-users" Date: 01/27/2016 17:10 Subject: [lxc-users] LXD default NS mappings Hi I have noticed that LXD uses some UIDs/GIDs by default I haven't set up and which aren't represented in /etc/sub[ug]id files. Interestingly, they are different from instance to instance: one one root is mapped on 1'000'000 (not 100'000), on another it's 265'536. Now when I copy the rootfs of a container offline between different LXD or LXC instances according to http://stackoverflow.com/questions/33377916/migrating-lxc-to-lxd doesn't the UID/GID mapping need to be the same? If not, why not? Thanks! D _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
