-
Notifications
You must be signed in to change notification settings - Fork 38
Fixed issue where rhel >8 packages would not have correct openssl dependency version #1570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
e2f98b5
to
6fc4077
Compare
6fc4077
to
dd97095
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me otherwise. One thing that worries me, though, is that I knew the fixed 3.0.0
/3.0.1
would stop working at some point, but I expected our tests to catch this. How come that is not the case?
80167af
to
9ff7f5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it's worth complicating the commit message, but this change means we require some API level, not a specific version of openssl. The commit message says hard dependency on the exact version and that's not the case. Any version that provides the required API level is fine (i.e. basically also any newer version). I'd reword the commit message so that in case someone goes searching for this commit, they don't get the impression that if there's a CVE in OpenSSL, they will be stuck on the some version because of CFEngine.
Agreed. They will be required at a minimum VERSION of OpenSSL nothing to do with an API requirement except that yes, the version we build with is the API version we build against. Happy to change the commit message to reflect this. |
9ff7f5e
to
edbc770
Compare
@cf-bottom jenkins with exotics no tests (I will test manually installing on non-updated rhel-8/9) |
Alright, I triggered a build: (with exotics) [NO TESTS] Jenkins: https://ci.cfengine.com/job/pr-pipeline/12092/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12092/ |
edbc770
to
1222f27
Compare
had a typo, retry: @cf-bottom jenkins with exotics no tests |
Sure, I triggered a build: (with exotics) [NO TESTS] Jenkins: https://ci.cfengine.com/job/pr-pipeline/12093/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12093/ |
TL;DRIt has to do with API level requirements, really. Just to elaborate on what I meantThe provides returned by Thanks for adjusting the commit message! |
Right. Reviewing the output of
I see that doesn't provide ANY inkling of what information it is giving so didn't indicate to me any of what you are mentioning. Bad docs for sure I'd say. So. As I understand it from you this Correct, so it is an API version expressed in a version which we then use in Requires. I will amend the comment again to be more clear. |
…endency version We build against systems with the latest available dependencies such as OpenSSL. We examine the highest "Version Definition" in the OpenSSL libraries which gives us the highest "API" and then use that as a requirement in our rpm package spec files. This should ensure that when packages are installed with yum/dnf any required OpenSSL package upgrades will be performed or the installation will fail. Ticket: ENT-12587 Changelog: title
1222f27
to
606c15a
Compare
Not exactly. When you do |
We build against systems with the latest available dependencies such as OpenSSL.
libcurl builds against this OpenSSL version which can have API changes that will break functionality if used on a non-updated system.
Ticket: ENT-12587
Changelog: title