-
Notifications
You must be signed in to change notification settings - Fork 26
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
Modifying /etc/hosts causing issues #607
Comments
there is no workaround |
Thanks, |
@purepani I don't think there is solution on Nixos side. The security/file model doesn't allow write access to host file. |
No plans that I am aware of |
@mattkasun so there's no chance of running netclient with dns integration on distributions like Nixos ? |
Not with current implementation |
One could still run a little DNS server, inside a VM, or even next to NM, that responds for whatever you want :-) Dnsmasq is quite simple, and yet very powerfull :-) Regards, |
I am a NixOS user, and one of the changes NixOS makes is that /etc/hosts is symlinked from the nix store, which is read only.
The issue this causes is when using the DNS integration, since /etc/hosts can't be modified, nothing is populated into there.
I was also thinking this might cause other conflicts with other programs that might also try to modify /etc/hosts. Is there a way to work around this, or would that require integrating a different solution for dns resolution into netclient?
The text was updated successfully, but these errors were encountered: