-
Notifications
You must be signed in to change notification settings - Fork 468
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
Fix SELinux issues when downloading Python packages. #2382
Conversation
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
I'm not sure to understand how this could work given that this script is only ever used in an nsjail context and in nsjail, /tmp/windmill/cache is not available directly in the sandbox that run that script: https://github.com/windmill-labs/windmill/blob/main/backend/windmill-worker/nsjail/download.py.config.proto |
Isn't it available in the jail here? I am not sure what value When it runs |
Unfortunately I am done signing CLAs that take away my rights as an open source contributor (Say thanks to Hashicorp). The only way I will sign a CLA is if it clearly states that the original AGPL project can never have it's license changed away from the AGPL and it will forever remain FOSS. |
Yes ... you are right :)
I understand where you're coming from but there are very boring reasons why on our end it would create enormous amount of complexity to make such legal statement. You may have my word for it but that is not legally binding. |
But it is possible to make such legal statements. It just requires time, money and unfortunately talking to lawyers. I get it. I understand you folks need to get paid for EE in order to support CE and in order to have EE you need a CLA that lets you re-license the FOSS contributions. If I have commercial uses for Windmill, I will for sure pony up the cash for EE. It's great software and I have no problem paying for only commercial features. I am no longer signing away my rights to my Copyright (even if it is a two line fix like in this PR) only to be Hashicorp'ed in the future without assurances in the CLA that the original Windmill project will forever remain AGPL. That said, I will close this PR out if signing the CLA is a hard requirement for this contribution. |
Right now we do not have the bandwidth to set such legal agreement for this PR. I completely understand your viewpoint however. May we open the same PR on our end ? |
This PR creates a directory inside the cache directory that is volume mounted and then tells pip to use that directory instead of
/tmp
to avoid SELinux drama.Fixes #2381