-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rootless: fix --uts=host and --pid=host #1349
Closed
Closed
Conversation
This file contains 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
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Fix the test for checking when /sys must be bind mounted from the host. It should be done only when userNS are enabled (the !UsernsMode.IsHost() check is not enough for that). Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Unfortunately this is not enough to get it working as runc doesn't allow to bind mount /proc. Depends on: opencontainers/runc#1832 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
giuseppe
force-pushed
the
rootless-fix-uts-pid-host
branch
from
August 27, 2018 11:42
a04fa94
to
a9f9d40
Compare
LGTM, assuming happy tests |
LGTM |
📌 Commit a9f9d40 has been approved by |
⚡ Test exempted: pull fully rebased and already tested. |
rh-atomic-bot
pushed a commit
that referenced
this pull request
Aug 27, 2018
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1349 Approved by: rhatdan
rh-atomic-bot
pushed a commit
that referenced
this pull request
Aug 27, 2018
Fix the test for checking when /sys must be bind mounted from the host. It should be done only when userNS are enabled (the !UsernsMode.IsHost() check is not enough for that). Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1349 Approved by: rhatdan
rh-atomic-bot
pushed a commit
that referenced
this pull request
Aug 27, 2018
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1349 Approved by: rhatdan
rh-atomic-bot
pushed a commit
that referenced
this pull request
Aug 27, 2018
Unfortunately this is not enough to get it working as runc doesn't allow to bind mount /proc. Depends on: opencontainers/runc#1832 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1349 Approved by: rhatdan
vrothberg
added a commit
to vrothberg/libpod
that referenced
this pull request
Feb 25, 2019
Rephrase the description of Buildah to make some core attributes (e.g., rootless, Dockerfile-less build, etc.) more obvious. Addresses: [containers#1349 (comment)](containers/buildah#1349 (comment)) Cherry-pick-from: containers/buildah#1362 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 27, 2023
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Labels
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
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.
Fix --uts=host and --pid=host with rootless containers.
Unfortunately the fix for
--pid=host
is not enough (so no tests were added) as it requires this patch in runc: opencontainers/runc#1832