-
Notifications
You must be signed in to change notification settings - Fork 65
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
RServe loads R environment before chroot #37
Comments
Sorry, I'm not quite sure I understand the issue - you are setting the environment before Rserve is started (typically using |
Thanks for the comment. Indeed the right approach is to use LD_PRELOAD or other ld "tricks" to make sure RServe binds with the right R dll when run in a chroot environment. RServe links to whatever R the dynamic loader picks out, which is typically the system R. You can close this as a "won't fix", we will try to make it work by either using LD_PRELOAD or by writing a wrapper to chroot first. |
|
I am trying to create a self-contained RServe in a chroot jail.
This works perfectly. However, the initial startup of RServe binds to the current /usr/lib64/R/ installation, even if the chroot environment contains another R installation.
This poses problems if the chroot environment has a different R version from the system R version.
RServe should scan the configuration file and execute any chroot before loading any other functions/libraries.
The text was updated successfully, but these errors were encountered: