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

Replace nsenter with reexec #3387

Open
apostasie opened this issue Aug 31, 2024 · 0 comments
Open

Replace nsenter with reexec #3387

apostasie opened this issue Aug 31, 2024 · 0 comments

Comments

@apostasie
Copy link
Contributor

What is the problem you're trying to solve

We currently depend on the nsenter binary.

Although working, this is problematic for a couple of reasons:

  • different distro (busybox) may have different syntax
  • different versions may or may not support different flags
  • nsenter is a bit of a blackbox, and it is not trivial to figure out what happens when you pass -w vs. -W for example

Linking ticket #3385 for example.

Describe the solution you'd like

An alternative solution would be to reexec instead, possibly leveraging docker reexec package.

This is certainly a somewhat complex endeavor, and definitely impactful from a security standpoint. It has to be done right.

Additional context

No response

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

No branches or pull requests

2 participants