HasModifiedFiles
Does Not Allow for i686 RPM's to Be Installed if x86_64 RPM Exists in Base Layer
#1127
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Bug Description
If a given
x86_64
RPM exists in the base layer (or possibly a previous layer) and then an thei686
version of the same RPM is installedpreflight
fails this check. This should be seen as an addition, but we view it as a modification due to the information retrieved fromrpmdb
.Version and Command Invocation
main
Steps to Reproduce:
preflight check container quay.io/acornett/ibm-686-x86:only_stdc
(there are also other tags for this image with different scenarios)Expected Result
It would be expected that only the addition of a new RPM of architecture
i686
would pass this check.Actual Result
The check fails as it thinks there is a modification to the files, logs below.
Additional Context
This seems to be the fact that in the layer with the addition of the
i686
that the certain files end up beingowned
by both RPMs. If we dig into the container we can see the below:More info can be found in JIRA: ISVISSUE-531
The text was updated successfully, but these errors were encountered: