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
{{ message }}
Repository navigation
Defer reading prepare-root config when using `--source-imageref #1410
if prepare_root_composefs.requires_fsverity() || repo_verity_state.desired == Tristate::Enabled
But yeah, I think the main gap here is that one would expect that with --source-imgref, the prepare-root.conf to check comes from the target image and not the host environment. The problem of course is that at that point, the container image hasn't been pulled yet (because the filesystem we're pulling it into is still being initialized!).
So... one seemingly obvious fix here is to delay turning on fs-verity until after we deploy the container image? I think the main downside of that is that it's much more expensive because you now have a lot more objects to iterate over. It's the same amount of I/O (I think) total, but when done upfront it's amortized over the whole ostree import operation. And obviously, we could do this only in the --source-imgref case.
I have created the empty file but end result is that I am facing next error then - SELinux one: Loading SELinux policy: SELinux enabled, but no policy found in root. I was wondering if this is not the result of prepare-root.conf configuration missing or some another broken dependency on the Anaconda side, which is presented in the container environment.
Activity
osbuild: use bootc install to deploy the container
cgwalters commentedon Jul 22, 2025
A workaround for now is to just create the file; this won't correctly handle the fsverity enabled case, but I don't think that's critical.
elkoniu commentedon Jul 22, 2025
I have created the empty file but end result is that I am facing next error then - SELinux one:
Loading SELinux policy: SELinux enabled, but no policy found in root. I was wondering if this is not the result ofprepare-root.confconfiguration missing or some another broken dependency on the Anaconda side, which is presented in the container environment.cgwalters commentedon Jul 22, 2025
That's a different issue, I filed #1438
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
22 remaining items
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
supermin: add ostree prepare-root config file
osbuild: use bootc install to deploy the container
osbuild: use bootc install to deploy the container
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file
supermin: add ostree prepare-root config file