-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
--userns=keep-id,nomap are not allowed in rootful mode #14532
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
test/system/170-run-userns.bats
Outdated
baseuid=$(egrep "${ns_user}:" /etc/subuid | cut -f2 -d:) | ||
test ! -z ${baseuid} || skip "no IDs allocated for user ${ns_user}" | ||
if is_rootless; then | ||
ns_user=$(id -un) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please indent this properly
test/system/170-run-userns.bats
Outdated
run_podman rm -t 0 --force ${cid} | ||
@test "podman userns=keep-id" { | ||
if is_rootless; then | ||
user=$(id -u) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked fine in Emacs, but it looks like tabs versus spaces. Fixed.
Signed-off-by: Daniel J Walsh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm |
The Openshift bot doesn't seem to be monitoring this, but hopefully adding LGTM will wake it |
Another easy one. Difference is that pod-create was fixed in containers#14532 (s/ignore/not allowed/) but pod-clone was not. I went with the fixed version. Signed-off-by: Ed Santiago <[email protected]>
Signed-off-by: Daniel J Walsh [email protected]
Does this PR introduce a user-facing change?
No