You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at adding this package to the Fedora buildroot but I'm wondering if we should really require the policy to be available for a build given that we relabel everything at the end if I understood correctly.
Host system details
Fedora build infrastructure.
Expected vs actual behavior
Successful compose even if no SELinux policy is available.
Steps to reproduce it
Build Silverblue in unified core mode in Fedora infra.
Would you like to work on the issue?
Yes, I can do the code change if this is what we agree on.
I'm looking at adding this package to the Fedora buildroot but I'm wondering if we should really require the policy to be available for a build given that we relabel everything at the end if I understood correctly.
Unified core is about trying to do the same thing for "base image builds" as we do for client side layering.
We do indeed relabel everything at the start, but it's just logically easier to require some policy be present (even if it's not the exact matching version).
Given that the fix is "install a package" which is kind of what Fedora is all about 😄 that sounds not very onerous to me...
So...tentatively closing because I don't think the cost/benefit here is worth it. (But if someone showed up and wanted to hack the rpm-ostree selinux code to handle this case, sure... this also strongly relates to to #971 which is basically the same thing)
Silverblue/Kinoite/etc. unified core composes are failing in Fedora infra on:
See:
This is likely due to selinux-policy-targeted missing from the buildroot. Unified core composes in https://gitlab.com/fedora/ostree/ci-test have been working for a while, with
selinux-policy-targeted
in the buildroot: https://gitlab.com/fedora/ostree/buildroot/-/blob/main/Containerfile#L26I'm looking at adding this package to the Fedora buildroot but I'm wondering if we should really require the policy to be available for a build given that we relabel everything at the end if I understood correctly.
Host system details
Fedora build infrastructure.
Expected vs actual behavior
Successful compose even if no SELinux policy is available.
Steps to reproduce it
Build Silverblue in unified core mode in Fedora infra.
Would you like to work on the issue?
Yes, I can do the code change if this is what we agree on.
*Related issues, potential duplicates
The text was updated successfully, but these errors were encountered: