Skip to content
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

Make environment variables to preserve configurable #1148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jrray
Copy link
Collaborator

@jrray jrray commented Nov 23, 2024

We were preserving $TMPDIR specfically in a hard-coded way and there was no way to opt out of it if desired. Now it has come to light that $LD_LIBRARY_PATH is also cleared when entering an spfs runtime. We would like to preserve that value too. Add a new configuration option so each site can decide to opt in to the preserving. Doing so may come with risks of privilege escalation.

@jrray jrray added the enhancement New feature or request label Nov 23, 2024
@jrray jrray self-assigned this Nov 23, 2024
@jrray jrray force-pushed the preserve-env-var-config branch 6 times, most recently from 2fd6b58 to 17e340f Compare November 23, 2024 10:41
We were preserving $TMPDIR specfically in a hard-coded way and there was
no way to opt out of it if desired. Now it has come to light that
$LD_LIBRARY_PATH is also cleared when entering an spfs runtime. We would
like to preserve that value too. Add a new configuration option so each
site can decide to opt in to the preserving. Doing so may come with
risks of privilege escalation.

Signed-off-by: J Robert Ray <[email protected]>
@jrray jrray force-pushed the preserve-env-var-config branch from 17e340f to b1854b7 Compare November 23, 2024 10:52
@jrray jrray requested a review from rydrman November 23, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant