-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compose: Drop rpmdb sqlite journaling files if rpmdb-normalize
See rpm-software-management/rpm#2219 This is one of the things that makes builds unreproducible in general, which is worth fixing alone. But the thing immediately driving this now for me is that I think we're getting some ill-defined behavior because we may have these files hardlinked (via ostree) and depending on the container build environment, we may or may not see modifications "through" the hardlink: https://docs.kernel.org/filesystems/overlayfs.html#index If we happen to mutate the `rpmdb.sqlite-shm` file in one path but not the other confusion could easily result. (Actually what we want to do really is drop our other hardlinked copies of the rpmdb entirely, but that's a bigger change) Out of conservatism for now, we only do this if `rpmdb-normalize` is set (which none of the Fedora derivatives set today AFAICS). I do think we should likely do this in client side layering too, but this reduces the blast radius for now. I plan to enable this in fedora-bootc. Signed-off-by: Colin Walters <walters@verbum.org>
- Loading branch information
Showing
5 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters