Repository navigation
Description
System details
RStudio Edition : Server
RStudio Version : 2022.12
Steps to reproduce the problem
One way is to start a new Shared Project, and check the PATH in the terminal to find an appended /usr/bin
Describe the problem in detail
There is a description in this Slack conversation (internal use only) between @jeffvroom @kevinushey and @ronblum
There have been two tickets where this affected customers using Environment Modules/LMod:
#84885 and #85583
The issue is caused by this hook which isn't otherwise documented.
The process for disabling this feature isn't documented in either the Workbench Admin documentation (near anything to do with Modules or Python) nor in the Workbench User Guide.
The second support ticket noted this feedback:
I can understand that HPC + Easybuild / lmod configuration maybe is not so popular across the community and that's why it is hard to take into account everything, that's why I would like to leave feedback.
For us, it is important to have this PATH without modification after modules are loaded and rsession-run script is executed, because of the related issue #82186 and a related GitHub issue #11822 (comment) when "Find in Files" option still doesn't work in CentOS7. That's why we have to load git as a module in order to fix this issue in our own way.
Additionally, we discovered that different Curl versions work differently with requests to Amazon (so Curl has to be updated as well). This is not related to RStudio, but we have to set up environment for users, that's why we also load updated Curl as a module in order to overcome our restrictions regarding internal yum repos that don't contain necessary versions yet
We should also take into account now that environment for sessions with Rproj and without Rproj may be different not only because of
.Rprofile/.RData, but because of Python configuration as well, it would be great to have documentation about it in Admin Guide
Describe the behavior you expected
- Workbench preference components documented in the user guide
- changes to PATH are documented
- if the PATH is changed, what step of the process that change happens in, is documented
- changes to PATH are robust enough to allow admins to override
- changes to PATH override feature is documented in the Admin manual
- I have read the guide for submitting good bug reports.
- I have installed the latest version of RStudio, and confirmed that the issue still persists.
- If I am reporting an RStudio crash, I have included a diagnostics report.
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
Activity
ronblum commentedon Mar 8, 2023
See also #12787.