-
Notifications
You must be signed in to change notification settings - Fork 358
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
Cross not compatible with SELinux #112
Comments
If you're running on an SELinux-enabled system, SELinux is probably at fault. |
Indeed, that was it. Fedora has SELinux on by default. The failure message here is confusing, it'd be nice if the invalid permissions could be detected and a clearer message could be provided. Don't know if that's for |
I've just fallen across this one as well. Unfortunately I don't think disabling SELinux is ever a good solution - it's there for a reason! |
Duplicates #185, there needs to be better documentation on what the requirements |
SELinux isn't a 'problem', it's a security feature. Cross should support mounting volumes using the Z flag. |
@thejpster makes sense. Maybe another config flag for |
Updated the title to better track the underlying issue. Thanks for the insight @thejpster! |
Using |
I went ahead and proposed a PR for this - #251 - feel free to close if it does not make sense though. Thanks ! |
251: Support mounting on SELinux r=reitermarkus a=cyplo This should allow `cross` to work on both non-SELinux enabled systems and SELinux ones. I've tested on Fedora 29 for SELinux system. Fixes #112 that was originally reported from Fedora as well I believe. 271: Minor improvements to wording r=reitermarkus a=spl * Fix a typo in "QEMU bug sand" * Add a link for QEMU * Clarify and simplify various other things about the wording The diff looks worse than the changes are. I tried to keep to the 80-column width since it looked like the rest of the text was that way. GitHub's “rich diff” seems to help here. Co-authored-by: Cyryl Płotnicki <cyplo@cyplo.net> Co-authored-by: Sean Leather <sean.leather@gmail.com>
I've been trying to debug our CI failures by running cross locally, but I've run into
Permission denied
error when doing so. I'm not really certain where to look to try and debug this issue, so I'm posting here. Any help figuring this out would be appreciated.The text was updated successfully, but these errors were encountered: