mozilla / snakepit

Machine learning job scheduler
Mozilla Public License 2.0
51 stars 16 forks source link

Proxy variables not found in interactive bash #174

Open reuben opened 5 years ago

reuben commented 5 years ago

I think it's because /etc/environment sets the variables but doesn't export them, so sub-processes don't see them. If I manually export the proxy variables in the shell, then the proxy works fine.

tilmankamp commented 5 years ago

Unfortunately /etc/environment is not a bash script. Haven't figured a way yet to let the interactive shell login (done by LXC-exec REST command) source /env.sh. At some point life was too short.