-
Notifications
You must be signed in to change notification settings - Fork 52
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
Should init script purge EASYBUILD_* environment variables? #58
Comments
This is a tough one, and my gut feeling says no. You could ask the same question about other environment variables, like The purpose of the EESSI init script is not to drop you in a clean environment, but just make the necessary changes to make the software provided by EESSI accessible. |
I agree with that, it shouldn't be the init script. In fact, if you were running this stuff natively, it wouldn't even lead to problems: I'd get the EasyBuild installation from Thinking about it more, I guess the thing that felt unintuitive is the fact that the behaviour of the container is affected by these environment variables. In my mind, containers should ideally run the same, where-ever you deploy them. Also, your same argument doesn't (fully) apply there: the container has it's own Then again, maybe I just have unrealistic expectations of containers =) I don't know, maybe someone with more experience with containers should answer the question whether it is possible (or sensible) for a container to clean the host's environment variables upon container startup. |
You can use |
pull in fixes from EESSI/software-layer PR238 and PR239
Issue
I ran into this error when running from the EESSI container:
Whoops, that's because our host system has
EASYBUILD_CONFIGFILES
set up.How should we go about this? Should the init script unset any
EASYBUILD_*
variables?The text was updated successfully, but these errors were encountered: