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
/etc/ network namespace overlay not working when using nsdo #6
Comments
#3 works for me. To use overlay fs is good idea. But netns.sh makes it difficult to use nsdo. |
@ytoku thanks for taking a look at #3. I think it's the best approach too, but I agree that part of the reason i've been slow on this (sorry) is that i don't really understand how other people use nsdo (i never expected other people to), and why |
I started by using it for rtorrent at home, where I do not have external DNS firewalled. At the moment i'm using nsdo to have multiple working profiles (such as firefox running inside a VPN). I remember using #2 or #3 when I had external dns blocked. I've added the "Help wanted" section to Copr nsdo build, maybe some of the currently 50 users can share some feedback. |
Hi, Life circumstances have changed and I'm using VPNs on GNU/Linux again, so I tried to fix this. Let me know what y'all think Closing this for the moment but feel free to reopen |
Thank you for notifying. |
Hi. I can't get resolv.conf to point to /etc/{NSNAME}/resolv.conf. Could be some compatibility issue with ZFS but I really don't know where to begin to troubleshoot. I also don't know if it's the same bug at all but I need to make sure. Running the Copr build (thank you) on Fedora 36. |
@animaldaydream We can troubleshoot, but I don't know much about this copr build. Do you know what commit ID it is using? Also, unfortunately due to overlayfs trolling, you have to put files in |
@animaldaydream I created #14 to track this, thank you for bringing this up, very interesting |
On a side note, adding the resolv.conf file in that path fixes Flatpaks not running. I don't know why they started failing but I assume it happened sometime when I updated my Fedora install, and I just now noticed because I hadn't performed a reboot yet. |
According to ip-netns man page, each network namespace can have its own set of configurations. I don't know if it due to a bug or a limitation, but in my case that I'm firewalled of using other DNS servers than local nsdo can't resolve anything.
Example for the case of using OpenDNS servers:
Different result when using ip netns directly:
Which also results in different connectivity:
Versus ip netns:
The workaround is obviously run ip netns rather then nsdo :-)
The text was updated successfully, but these errors were encountered: