-
Notifications
You must be signed in to change notification settings - Fork 41
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
jupyterhub does not pass env variables #72
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
This comment has been minimized.
This comment has been minimized.
Having exactly the same problem. sudospawner fails to start as the neccessary PYTHONPATH variable get's lost despite c.Spawner.env_keep is listing it. |
Ok, here's how to solve it (should be documented somewhere in the sudospawner webpage I guess):
According to https://github.com/jupyterhub/sudospawner we can solve this by creating a file
And now it works. |
The problem is, that you do not pass Therefore I use the following workaround in our cluster:
Have fun ;-) |
Bug description
Even if
c.Spawner.env_keep
is set as expected, jupyterhub does not pass these variables to sudospawner and thus sudospawner fails withExpected behaviour
sudospawner should run.
Actual behaviour
sudospawner invocation fails.
How to reproduce (Ubuntu 18.04 (bionic), minimal server)
Use any vanilla ubuntu 18.04 install and execute as unprivileged user (example uses user
admin
which belongs to groupstaff
) - copy and paste should work:Your personal set up
The text was updated successfully, but these errors were encountered: