-
Notifications
You must be signed in to change notification settings - Fork 373
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
Support for SELinux #1476
Comments
Thanks for reporting @acolombier! Currently we have this workaround documented on our website - https://devpod.sh/docs/troubleshooting/linux-troubleshooting#using-selinux As you mentioned adding the Z is needed to allow the runtime to mount the volume. We opted to not automatically add this as we would need to detect SELinux and add the flag which is potentially not desired behaviour for other users. Let me know if you have any specific ideas though about this or how it could be supported |
Yes that makes sense. Could we consider adding an option similar to |
Hi @acolombier yes that would work! As long as we can toggle this functionality with a CLI flag then it would be great if you could submit a PR with your changes :) I think adding |
@acolombier did you manage to get around adding the context option? If not please feel free to open a PR with your current changes and I can add the rest :) |
Apologies for the delay here @bkneis, I'm still planing to do it, just hadn't the time lately! Hoping to get that done this month! I will ping you if I need your help to complete the work :) |
Is your feature request related to a problem?
Yes - when running devpod with a docker-compatible executable (such as
podman
) using SELinux, the container gets permission denied on the mounted workspace folderWhich solution do you suggest?
It looks like adding the
Z
flag is enough to make it work:Let me know if you would like me to submit a PR
Which alternative solutions exist?
N/A
Additional context
Using the
main
version of devpod, using withpodman
on Fedore 41 SilverBlueThe text was updated successfully, but these errors were encountered: