-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
rootless: move join namespace inside child process #5889
rootless: move join namespace inside child process #5889
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe 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 |
|
LGTM once that is addressed, though. Should we consider backport against 1.9? |
a0c4388
to
cfd2ec8
Compare
comments addressed. Yes, I think we should backport it. I'll prepare it once this one is merged |
Still blocked by gating, but LGTM |
cfd2ec8
to
cea3286
Compare
since we join directly the conmon user namespace, there is no need to look up its parent user namespace, as we can safely assume it is the init namespace. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
open the namespace file descriptors inside of the child process. Closes: containers#5873 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
cea3286
to
788fdc6
Compare
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 assuming happy tests
/lgtm |
open the namespace file descriptors inside of the child process.
Closes: #5873
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com