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

nix-store and libcurl 7.55.0 hostname resolution troubles #1536

Open
nlewo opened this issue Aug 28, 2017 · 2 comments
Open

nix-store and libcurl 7.55.0 hostname resolution troubles #1536

nlewo opened this issue Aug 28, 2017 · 2 comments
Assignees
Labels
cli The old and/or new command line interface

Comments

@nlewo
Copy link
Member

nlewo commented Aug 28, 2017

On nixpkgs master, nix is using libcurl 7.55.0 since 15 days.
If there is no nscd deamon up and running, libcurl sends the dns request to localhost. The strace of nix-store shows it doesn't try to open /etc/resolv.conf. It seems it then fallback to localhost.

I have tryied to curl the url that nix-store fails to download and it works fine with curl 7.55.0. So the problem could be related to the libcurl initialisation in nix-store.

If nix-store uses the libcurl 7.54.1 or 7.53.0, it can resolve hostname without the nscd deamon.

@nlewo
Copy link
Member Author

nlewo commented Aug 29, 2017

To reproduce, I just have to stop the nscd deamon and try to realize something that has not been yet built.

@stale
Copy link

stale bot commented Feb 15, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 15, 2021
@fricklerhandwerk fricklerhandwerk added the cli The old and/or new command line interface label Sep 13, 2022
@stale stale bot removed the stale label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli The old and/or new command line interface
Projects
None yet
Development

No branches or pull requests

5 participants