-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Why does system.nssModules force nscd? #95107
Comments
On non-NixOS systems, applications using nss load nss modules from a shared location. This doesn't work on NixOS, as ${glibc}/lib/... is immutable.
We use nscd, and pass LD_LIBRARY_PATH to nscd to have it find other enabled nss modules.
Why don't you really want nscd?
|
It will double-cache my DNS requests that are already cached by systemd-resolved |
I thought by default nixpkgs's |
Yes, and the comment there also mentions why we do things the way we do.
|
Oh, this is good news :) Thanks for everyone for the answers :) |
Describe the bug
I wanted to update my system, I have avahi-daemon enabled, what means that I have nss_mdns module enabled (and I need it!), however I can't update due to this error:
But I really don't want nscd (and still need nss_mdns!)! Why is it needed for third-party modules while I can use them without nscd on all other distros? 🤔
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Nix can install nss_mdns module or any other nss module without having nscd enabled.
Notify maintainers
@florianjacob @flokli
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: