-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
glibc-2.18 should not look up /etc/ld.so.preload #1788
Comments
@edolstra: what about testing this in the glibc-2.19 branch? |
Rebased against 2.19 9da7db9. |
How about using something like /etc/ld-nix.so.preload? Using PREFIX/etc/... is kind of pointless because that file doesn't exist. |
Hmm, yes, that sounds better. It might even get useful to put something into that file, in some cases. |
Modified according to the PR comment.
Pushed the updated patch to glibc-2.19. I guess the reason for PREFIX was that ld.so.cache was solved the same way (but having that kind of global cache seems completely useless, whereas preloading still makes sense). |
Modified according to the PR comment.
I installed nix on top of a linux system which has /etc/ld.so.preload. It produces some errors like
although binary seems to work (with those annoying error messages whenever it loads dynamic libraries)
I made a patch for this. With this patch, ld.so will not lookup system ld.so.preload:
eb6b433a35fd183bdfb5594799c7e440ab32293c
BTW, since this is a stdenv change, I do not know what is the best way to make a pull request for this. Can I make it against master branch or do we have some rule for this?
The text was updated successfully, but these errors were encountered: