Skip to content

[release/1.1] Cherrypick "Set gid 0 when no group is specified" and docs update#2556

Merged
dmcgowan merged 2 commits intocontainerd:release/1.1from
estesp:cherrypick-gid-zero
Aug 20, 2018
Merged

[release/1.1] Cherrypick "Set gid 0 when no group is specified" and docs update#2556
dmcgowan merged 2 commits intocontainerd:release/1.1from
estesp:cherrypick-gid-zero

Conversation

@estesp
Copy link
Copy Markdown
Member

@estesp estesp commented Aug 20, 2018

Cherrypick commits from #2529 and #2535 for the 1.1.x branch

crosbymichael and others added 2 commits August 20, 2018 09:17
This change is to match Docker's implementaion of setting gid and groups
to 0 when no gid is specified but an explicit uid is set.

Fixes containerd#2527

Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Phil Estes <[email protected]>
The behaviour was changed in 99df1a9 ("Set gid 0 when no group is
specified"), part of containerd#2529.

Take the opportunity to tighten up the grammar a bit too.

Signed-off-by: Ian Campbell <[email protected]>
Signed-off-by: Phil Estes <[email protected]>
@estesp estesp added this to the 1.1.3 milestone Aug 20, 2018
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2556 into release/1.1 will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##           release/1.1    #2556   +/-   ##
============================================
  Coverage        50.11%   50.11%           
============================================
  Files               75       75           
  Lines             7297     7297           
============================================
  Hits              3657     3657           
  Misses            2965     2965           
  Partials           675      675
Flag Coverage Δ
#linux 50.11% <0%> (ø) ⬆️
Impacted Files Coverage Δ
oci/spec_opts_unix.go 21.77% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5627389...4d629f3. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

@Random-Liu
Copy link
Copy Markdown
Member

I'll draft the release note after this get merged.

@dmcgowan
Copy link
Copy Markdown
Member

LGTM

@dmcgowan dmcgowan merged commit 41ccfba into containerd:release/1.1 Aug 20, 2018
@estesp estesp deleted the cherrypick-gid-zero branch August 21, 2018 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants