-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Gem contains hardcoded path to /home/flavorjones
#3133
Comments
It tries to access the files below:
|
Hi! Thanks for opening this issue, I'll try to help. I don't know what OpenProject is, or what its "automounter" is, or what opensnoop is, or why what you're seeing is a problem for you. Can you explain a bit more to help me understand? I suspect what you're seeing is an artifact from how the precompiled libraries are linked (specifically the |
Thank you very much for your prompt reply.
Sorry, OpenProject is a Ruby on Rails application.
From automount(8):
In big environments with network shares (NFS), to avoid having all network shares mounted the whole time, autofs/automount is used to mount the directory just in time (and later unmount them). In our network environment project directories and home directories ( opensnoop traces If such a directory does not exist,
Yes, that is also my theory. As systems won’t have the path |
OK, thanks for giving that additional context. I'll take a look later today to try to correlate the linker paths to what you're seeing, and explore how to fix that in the precompiled builds. In the meantime, you may want to look into upgrading to the latest version (v1.16.x) of Nokogiri, since any potential fix won't be backported to older minor branches. |
OK, I'm fairly certain that the Here's what I'm doing both to approximate what you're seeing, and testing this hypothesis:
So at this point I'll dig into modifying how the |
Wow, thank you very much for your research. I can confirm the RPATH being set in the shared library:
|
See some exploration of solutions at #3137 |
Using OpenProject with Nokogiri 1.14.2, we noticed, the automounter trying to mount
/home/flavorjones
:This is „caused“ by
bin/rake jobs:workoff
.The text was updated successfully, but these errors were encountered: