-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Edited by @cgwalters
Goal: Ensure that when a container image doesn't have /ostree we don't end up with duplicate ostree objects (one labeled in a default way and one with the final label).
Mitigations:
- payload-link
- Change the commit process to be two phase: save layers but do it in way that we avoid duplicate objects
- Unified storage #20
Hard constraint: Must not break rpm-ostree (or ostree) when used directly
Original:
We've now moved to client-side SELinux labeling. I think we should still though support server-side labeling, I guess through ostree container commit/bootc build commit? I think this today though conflicts with wanting to move away from /ostree in the container image, but it could be implemented differently of course.
The main argument is simply reproducibility. Notably, coreos/fedora-coreos-tracker#2030 happened which is a great example of why doing this server-side would be better for those that want to opt in (like FCOS/RHCOS).