-
Notifications
You must be signed in to change notification settings - Fork 822
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
No support for UNSHARE_NET #3550
Comments
For giggles try running WSL elevated. Allegedly there is some |
Running elevated kinda defeats the purpose of using namespaces for sandboxing though. If the generic code is there I think it shouldn't be that hard to make it work non-privilegedly for the flatpak usecase (which is essentially "make network stuff seem to work but pretend we're offline"). |
It doesn't, in the context of WSL. You're sandboxed as user |
@therealkenc is right. UNSHARE_NET requires Windows admin (for communicating with Windows virtual network infrastructure). |
I'm trying to make flatpak/bubblewrap work on WSL, and one missing feature is network namespaces: containers/bubblewrap@6054b54
I realize network namespaces are generally pretty complicated, as you have to also support netlink and whatnot to be able to set up the new namespace. However, flatpak needs only a small part of this, just enough to bring up a loopback interface.
The text was updated successfully, but these errors were encountered: