Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a non-existent groupid to own the docker socket #11377

Merged
merged 1 commit into from Mar 14, 2015

Conversation

Projects
None yet
5 participants
@aidanhs
Copy link
Contributor

aidanhs commented Mar 13, 2015

Workaround for #1715 - I've got an LDAP system which contains the group I want to use. It has a consistent gid so I'd like to be able to forcibly set the group id of the socket.

A group name can't be a valid parseable uint, so this check will only take effect when someone's trying to set a group id explicitly. I think it's a safe assumption that someone trying to set a group id explicitly knows what they're doing.

Allow a non-existent groupid to own the docker socket
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
@tianon

This comment has been minimized.

Copy link
Member

tianon commented Mar 13, 2015

+1 and the change LGTM

@jessfraz

This comment has been minimized.

Copy link
Contributor

jessfraz commented Mar 14, 2015

LGTM

jessfraz pushed a commit that referenced this pull request Mar 14, 2015

Jessie Frazelle
Merge pull request #11377 from aidanhs/aphs-allow-nonexistent-gid
Allow a non-existent groupid to own the docker socket

@jessfraz jessfraz merged commit 649d833 into moby:master Mar 14, 2015

1 check passed

janky Jenkins build Docker-PRs 3271 has succeeded
Details

@vieux vieux removed the status/0-triage label Mar 14, 2015

@aidanhs aidanhs deleted the aidanhs:aphs-allow-nonexistent-gid branch Mar 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.