-
Notifications
You must be signed in to change notification settings - Fork 381
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
Rootless Podman with SELinux File Permission Issue #1565
Comments
have you tried installing cross from the current main branch?
|
With version
Which is an unrelated issue. I will have dig another day what is wrong there. |
that's a known issue, you use aws-lc-sys from their master branch to resolve it for now. aws/aws-lc-rs#520 edit: actually, for x86_64-unknown-linux-gnu that might not work |
@Emilgardis Hi, I am running into a similar issue to the above. I am trying to compile a project that depends on cargo tree | grep aws-lc-sys
│ │ ├── aws-lc-sys v0.22.0 cross build --release --target x86_64-unknown-linux-gnu The output includes:
Have you found a workaround for EDIT: This comment seems to suggest that one option would be to update |
Checklist
Describe your issue
When using cross on a system with SE Linux enabled,
What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
Running on fedora 40 with podman and SELinux enabled in a project that contains a local dependency:
Additional information / notes
Instead of using
:z
which relabels the files in a mount, using--security-opt label=disable
is a much more reliable option in my experience. It also fixes the issue for me in this case.The text was updated successfully, but these errors were encountered: