Jupyter Hub - termnal /etc/profile.d/*.sh file not sourcing

Hi All,

I am running JupyterHub as a container and keeping a couple of scripts under /etc/profile.d/*.sh. When I start a new session or open a terminal, my scripts are not loading. However, while doing SSH to my container via CLI, I see the scripts are working fine.

I want to know what is stopping the scripts from running in the JupyterHub terminal. If there is any solution, please let me know to overcome this issue.

Profile scripts aren’t always read when launching a non-login shell. See

for an example of how to work around this.