----- Messaggio originale ----- | Da: "Antonio Murdaca" <[email protected]> | A: [email protected] | Cc: "Daniel J Walsh" <[email protected]>, "Nalin Dahyabhai" <[email protected]> | Inviato: Mercoledì, 17 febbraio 2016 14:44:34 | Oggetto: ship Fedora with /etc/{subuid|subgid} | | Hello everyone, | | TL;DR; | a fresh Fedora installation won't have /etc/subuid and /etc/subgid | Docker user namespace implementation require those files to be present - | otherwise it fails | | Docker user ns relies on two files /etc/{subuid,subgid} to be on the rootfs | in order to | gather information about remapped root(s). AFAIK other distros ship those | files (empty by default IIRC).
seems like "passwd" is providing those files on stock Ubuntu(s) http://manpages.ubuntu.com/manpages/wily/en/man5/subuid.5.html | The only exception is Fedora (as also stated in their official docs at [1]). | | Is there any particular issue|reason Fedora doesn't ship those two files? | | [1] | https://github.com/docker/docker/blob/master/docs/reference/commandline/daemon.md#starting-the-daemon-with-user-namespaces-enabled | | Thx, | Antonio (runcom) Murdaca | -- | devel mailing list | [email protected] | http://lists.fedoraproject.org/admin/lists/[email protected] | -- devel mailing list [email protected] http://lists.fedoraproject.org/admin/lists/[email protected]
