Fix running in privileged mode against a daemon with --default-cgroupns-mode=host#39578
Merged
AkihiroSuda merged 2 commits intomoby:masterfrom Aug 25, 2019
Merged
Fix running in privileged mode against a daemon with --default-cgroupns-mode=host#39578AkihiroSuda merged 2 commits intomoby:masterfrom
AkihiroSuda merged 2 commits intomoby:masterfrom
Conversation
Contributor
Author
|
@tonistiigi - This should address the test failures you were talking about in the comment linked above. |
Member
|
@rgulewich failing in CI for the same test |
Contributor
|
@rgulewich i see in the experimental PR check with commit 86abfc6: |
86abfc6 to
6c141aa
Compare
Contributor
Author
|
@tonistiigi / @andrewhsu / @thaJeztah - Updated, and |
Member
|
@psftw FYI looks like that machine might be out of space? https://ci.docker.com/public/blue/organizations/jenkins/moby/detail/PR-39578/2/pipeline |
This test requires cgroup namespaces to be enabled, not the other way around. Signed-off-by: Rob Gulewich <rgulewich@netflix.com>
Signed-off-by: Rob Gulewich <rgulewich@netflix.com>
6c141aa to
530f2d6
Compare
Contributor
Author
|
@tonistiigi / @andrewhsu / @thaJeztah / @cpuguy83 - Any chance someone could take a look at this? The Windows test failure looks to be unrelated. |
AkihiroSuda
approved these changes
Aug 25, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per #38377 (comment)
Two changes:
TestCgroupNamespacesRunPrivileged(): it requires cgroup namespaces to be enabled, not the other way around.hostwhen running with--privileged, rather than falling back to the host default