-
lxc-attach: User namespaces: Use init's user & group id when attaching · cb3e61faChristian Seiler authored
When attaching to a container with a user namespace, try to detect the user and group ids of init via /proc and attach as that same user. Only if that is unsuccessful, fall back to (0, 0). Signed-off-by:Christian Seiler <christian@iwakd.de>
cb3e61fa
×