-
Notifications
You must be signed in to change notification settings - Fork 133
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
Meaning of env_whitelist and passing vars from os.environ. #279
Comments
So this
So add after this:
where |
So propose adding new configuration:
Thus have:
|
I see that in the PR, you already changed the name of the configuration value to |
This was fixed by #280 - closing. |
When using kernel_gateway on RHEL/CentOS with SCL (www.softwarecollections.org) versions of Python, there is a dependency on
LD_LIBRARY_PATH
being passed through to process created which use Python. If this isn't done, you end up with error such as:There does exist the configuration setting:
but it doesn't have the desired affect of allowing you to white list additional environment variables from
os.environ
so they get passed. Instead, the white list is applied to themodel['env']
in code which am presuming is some description of the kernel being run.What is
model['env']
in this situation? It comes through as empty.Should the code perhaps be:
Or is there some other way of being able to white list environment variables that will be passed through to the kernel application process?
The text was updated successfully, but these errors were encountered: