Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpm: Set up crypto-policies configuration for OpenSSL
Some of the tests currently fail with OpenSSL failed to create a new SSL_CTX: error:80000002:system library::No such file or directory This is caused by the fact that the crypto-policies configuration is completely missing inside the containers, likely as a consequence of the fact that bazeldnf skips all of the usual RPM postinst logic. Make sure that the configuration for OpenSSL exists by manually creating the necessary symlinks. This ensures nc works, both in the virt-launcher container and the one used for testing. The crypto-policies configuration actually covers more than just OpenSSL, but the other files don't seem to be necessary for the purpose of KubeVirt working. We can add more symlinks in the future if they turn out to be needed. Note that the files in question were absent in the CentOS Stream 8-based container too, but no errors were reported at the time. Either nc or OpenSSL must have become more strict in CentOS Stream 9. Signed-off-by: Andrea Bolognani <[email protected]>
- Loading branch information