This means obfsproxy can't launch in TBB, because LD_LIBRARY_PATH is not used. We should probably fix this along with #5076 (moved) by just using Tor's environment, and appending the new env vars we need.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I think Tor should not fail to try launching obfsproxy just because it doesn't find HOME or PATH in its env. That's definitely a bug in Tor.
Does obfsproxy actually need HOME or PATH? I guess there's a question of which one should try to reconstruct it if it isn't defined. But I think currently it doesn't, so maybe we don't need to answer that question yet.
Is it dangerous to pass Tor's env vars to obfsproxy? I'm not sure. I think the benefits outweight the risks.
You'll definitely want to change the sentence "We can do this only if the spec change to require HOME and PATH to be set is accepted" because it implies that you want to change the spec to require HOME and PATH to be set.
I'd suggest a follow-up cleanup commit to get rid of the r, and change the function to return a void, clean up launch_managed_proxy() so it knows set_managed_proxy_environment() can't fail, etc.
I have not evaluated the fiddly pointer arithmetic yet.
Does obfsproxy actually need HOME or PATH? I guess there's a question of which one should try to reconstruct it if it isn't defined. But I think currently it doesn't, so maybe we don't need to answer that question yet.
At least currently, it doesn't. Needing HOME would be quite strange indeed for a daemon at least. And what would it do with PATH?
Is it dangerous to pass Tor's env vars to obfsproxy? I'm not sure. I think the benefits outweight the risks.
I can't think of a reason why it'd be dangerous.
You'll definitely want to change the sentence "We can do this only if the spec change to require HOME and PATH to be set is accepted" because it implies that you want to change the spec to require HOME and PATH to be set.
fixed. that doesn't belong in the changelog anyway.
I'd suggest a follow-up cleanup commit to get rid of the r, and change the function to return a void, clean up launch_managed_proxy() so it knows set_managed_proxy_environment() can't fail, etc.
added
I have not evaluated the fiddly pointer arithmetic yet.