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

--enable-sandbox is not compatible with --userns-path=... --netns-type=path #317

Open
AkihiroSuda opened this issue Jun 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@AkihiroSuda
Copy link
Member

$ slirp4netns --enable-sandbox --userns-path=/proc/98616/ns/user --netns-type=path /proc/98616/ns/net tap0
sent tapfd=5 for tap0
received tapfd=5
Starting slirp
* MTU:             1500
* Network:         10.0.2.0
* Netmask:         255.255.255.0
* Gateway:         10.0.2.2
* DNS:             10.0.2.3
* DHCP begin:      10.0.2.15
* DHCP end:        10.0.2.30
* Recommended IP:  10.0.2.100
WARNING: 127.0.0.1:* on the host is accessible as 10.0.2.2 (set --disable-host-loopback to prohibit connecting to 127.0.0.1:*)
setegid(0)
parent failed

slirp4netns: v1.2.0

@AkihiroSuda AkihiroSuda added the bug Something isn't working label Jun 29, 2023
@igo95862
Copy link

Confirmed.

Interesting is that it does work if --userns-path is set to /proc/self/ns/user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants