libcontainer/user: add supplementary groups only for non-numeric users#1450
libcontainer/user: add supplementary groups only for non-numeric users#1450crosbymichael merged 1 commit intoopencontainers:masterfrom vrothberg:sgid-non-numeric
Conversation
Signed-off-by: Valentin Rothberg <[email protected]>
|
This comes from /cc @crosbymichael |
|
ping |
|
It looks like they don't use |
|
This is breaking my attempt to have I do not see the rational for depriving a user of its additional gids for the simple reason that it was referenced by its numeric ID instead of its human readable alias. |
|
ping @cyphar @crosbymichael 😇 |
|
We only use numeric ids in LinuxKit, so this also breaks our ability to use supplemental groups. I really don't understand the rationale. |
|
The concept of getting a supplementary group from To be fair however, Maybe there is a justification for it... |
|
In practice, there should only be a single entry for a given Bottom line, it would be nice if the maintainers could vote on reverting this PR 👼 |
|
I'm fine reverting this as it causes issues in practice and wasn't really fixing a problem in the first place. |
…n-numeric" This reverts commit 5c73abb, reversing changes made to 51b501d. Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
|
Created a PR reverting this change #1548 |
|
Merged it. Thanks @mlaventure. |
…n-numeric" This reverts commit 5c73abb, reversing changes made to 51b501d. Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
…n-numeric" This reverts commit 5c73abb, reversing changes made to 51b501d. Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
As described in opencontainers/image-spec#492 by @cyphar
Signed-off-by: Valentin Rothberg [email protected]