-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
weird environment variables issue when run under process supervisor #238
Comments
According to the circus docs, circus' environment is not copied to child processes by default. See the |
surprise, surprise. the shim bash script must have been a red herring--there's probably some implicit bash argument that simulates a login or something. anyway, you're right. |
👍 Thanks for following up! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
OS: ubuntu 14.04
nomad v0.1.2
running under circus, circus job ini file:
/tmp/test.sh (illustrates PATH is set properly and
uname
is findable):stdout and stderr from circus:
to further verify that PATH is the problem, I checked out tag: v0.1.2 and made this change:
sure enough, running interactively PATH prints out, when run under the process supervisor, PATH is empty.
The text was updated successfully, but these errors were encountered: