Skip to content

Conversation

@ricardobranco777
Copy link
Contributor

@ricardobranco777 ricardobranco777 commented Oct 18, 2025

Make tests runnable on SELinux enabled daemon.

Otherwise I get error message like these:

Needs chcon -Rt svirt_sandbox_file_t ./pkg/e2e/fixtures.

@ricardobranco777 ricardobranco777 requested a review from a team as a code owner October 18, 2025 20:37
@ricardobranco777
Copy link
Contributor Author

This didn't work on https://openqa.opensuse.org/tests/5393857

@ricardobranco777 ricardobranco777 changed the title test: Make tests runnable on SELinux enabled daemon WIP: test: Make tests runnable on SELinux enabled daemon Oct 20, 2025
@ricardobranco777 ricardobranco777 force-pushed the selinux branch 2 times, most recently from 5e092e1 to 6264a44 Compare October 20, 2025 19:15
@ndeloof
Copy link
Contributor

ndeloof commented Oct 20, 2025

Such changes would only make sense if we have SELinux-enabled daemon set on our own CI (https://github.com/docker/compose/blob/main/.github/workflows/ci.yml#L158-L160)

@ricardobranco777
Copy link
Contributor Author

Such changes would only make sense if we have SELinux-enabled daemon set on our own CI (https://github.com/docker/compose/blob/main/.github/workflows/ci.yml#L158-L160)

Yes. I'm testing first on openSUSE Tumbleweed: https://openqa.opensuse.org/tests/5400629/file/docker_compose-e2e-compose.txt

Now it's only TestConvertAndTransformList/* failing.

@ricardobranco777 ricardobranco777 changed the title WIP: test: Make tests runnable on SELinux enabled daemon test: Make tests runnable on SELinux enabled daemon Oct 20, 2025
@ricardobranco777
Copy link
Contributor Author

Closing this one as not sustainable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants