Skip to content

Comments

Set O_CLOEXEC when opening a network namespace#43

Merged
vishvananda merged 1 commit intovishvananda:masterfrom
fanjiyun:open
Jul 28, 2020
Merged

Set O_CLOEXEC when opening a network namespace#43
vishvananda merged 1 commit intovishvananda:masterfrom
fanjiyun:open

Conversation

@fanjiyun
Copy link
Contributor

Set O_CLOEXEC when opening a network namespace

Fix: moby/moby/issues/41136
the container‘s netns fds leak, causing the container netns to not clean up successfully after the container stop

Signed-off-by: fanjiyun [email protected]

@thaJeztah
Copy link
Contributor

@vishvananda PTAL

@thaJeztah
Copy link
Contributor

@vishvananda @tklauser ptal

Copy link
Contributor

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

LGTM

@tklauser
Copy link
Contributor

tklauser commented Jul 9, 2020

@thaJeztah
Copy link
Contributor

@aboch can you help out getting this merged?

@fanjiyun
Copy link
Contributor Author

@thaJeztah @tklauser @aboch is there anything I need to do for this PR? thanks.

@aboch
Copy link
Collaborator

aboch commented Jul 28, 2020

ping @vishvananda

@thaJeztah
Copy link
Contributor

Also, @vishvananda are you interested in having more maintainers added to this repository to help out? If so, I can look for some people to help on that.

@vishvananda
Copy link
Owner

this looks good. Pull requests are so rare to this repo i haven't been paying attention. I could add @aboch to have a backup

@vishvananda vishvananda merged commit 1e46305 into vishvananda:master Jul 28, 2020
@thaJeztah
Copy link
Contributor

Thanks! Yes, looks like it's fairly stable/low maintenance. Having @aboch added (if he's interested 🤗) would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the container‘s netns fds leak, causing the container netns to not clean up successfully after the container stops

5 participants