Skip to content
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

fix a debug msg for user ns in nsexec #4311

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

lifubang
Copy link
Member

@lifubang lifubang commented Jun 6, 2024

When I was using runc --debug to run a container with user ns, I saw two debug msgs request stage-0 to map user namespace, it would make users confused.

At the first I thought runc requested stage-0 two times to map user ns? But after looked into the code, there are two same debug msgs in nsexec:
https://github.com/opencontainers/runc/blob/6b9b2c3d/libcontainer/nsenter/nsexec.c#L899

Signed-off-by: lfbzhm <lifubang@acmcoder.com>
Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks

@kolyshkin
Copy link
Contributor

not sure what's happening with fedora ci, it times out; restarted

@AkihiroSuda AkihiroSuda merged commit 30b7b63 into opencontainers:main Jun 8, 2024
39 checks passed
@lifubang lifubang added the backport/1.1-todo A PR in main branch which needs to be backported to release-1.1 label Jun 9, 2024
@lifubang lifubang added backport/1.1-done A PR in main branch which has been backported to release-1.1 and removed backport/1.1-todo A PR in main branch which needs to be backported to release-1.1 labels Jun 9, 2024
@lifubang lifubang mentioned this pull request Jun 10, 2024
@lifubang lifubang deleted the fix-debug-msg-in-nsexec branch October 15, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.1-done A PR in main branch which has been backported to release-1.1 easy-to-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants