lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
15.07k stars 591 forks source link

Update selinux label for rosetta from nfs_t to bin_t #2630

Closed hasan4791 closed 1 day ago

hasan4791 commented 1 week ago

With recent integration with systemd-binfmt,the existing nfs_t selinux label for Rosetta is causing issues while registering it. This behaviour needs to be fixed by setting the label as bin_t.

Fixes: https://github.com/lima-vm/lima/issues/2627

hasan4791 commented 1 week ago

Wondering whats causing the test failure!!! Locally this works but not in CI

As per this line, the file has been updated https://github.com/lima-vm/lima/actions/runs/10935435606/job/30357191260?pr=2630#step:9:593

Edit: Resolved.

hasan4791 commented 1 week ago

@AkihiroSuda couls you help me with rerunning those failed/cancelled tests again. Looks to be flaky!!

hasan4791 commented 1 week ago

Required test jobs are passed now but some job is failing which is irrelevant to the changes in this PR.