Change 'microdnf update' call to not install weak dependencies of rpms#533
Change 'microdnf update' call to not install weak dependencies of rpms#533soenkeliebau merged 2 commits intomainfrom
Conversation
|
You'll hate me for it but can you please add a comment as to why we add that command. Possibly just a reference to this issue could be enough. |
|
"Happy" to in principle, but before I do that, I'd like to discuss if this is what we want, or if we can maybe just
|
|
I have reached out to RedHat and now need to create a ticket upstream to ask for opinions so I'd like to hold this for a while longer. |
|
works for me. |
|
I compared our kafka images, built with weak dependencies and without weak dependencies, just to get an idea of the difference that makes. Weak deps enabled Weak deps disabled |
e5e8c50 to
57a39e6
Compare
|
We got the following response from RedHat:
This doesn't provide any new insights or details. @lfrancke In parellel we can continue the discussion with RedHat to see if we can gain any additional insight there. If we do make the change, I'd rather make it now and give us some time before the release to find any knock-on effects though. |
Description
The investigation into this was caused by some images suddenly containing openssl binaries despite us having actively removed that dependency earlier.
This was caused by a 'suggests' dependency on the openssl-libs rpm package on openssl-pkcs11, which in turn has a dependency on openssl itself.
Up until now this was not an issue, as this only is triggered when openssl-libs is installed by microdnf update, which so far never happened, as the ubi8 image always contained the latest version.
What I would highly prefer to this solution is to remove all calls to 'microdnf update' from all our images. As proven by this episode, it makes image builds totally non-deterministic as they depend on which packages are available in the rpm repo.
Definition of Done Checklist