-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Update ansible playbooks to use up-to-date version of git #2889
Comments
Compiled and installed |
Looks like compiling git version >2.26 requires the |
Yeah on the .deb platforms (Debian, Ubuntu etc.) it's a slightly less consistent package name that has a version number in it so it will potentially require further investigation to get it right everywhere. |
@sxa The dependency package is already available in the Actually, I tested the latest git version on the Adopitum centos6 build image pulled from the docker image which hasn't been updated for over 9 months(related issue #3211) and was missing the Note: I tested the latest version For CentOS: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/CentOS.yml Lines 100 to 107 in fcb6021
For Rhel: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/RedHat.yml Lines 110 to 114 in fcb6021
For Ubuntu: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/Ubuntu.yml Lines 23 to 26 in fcb6021
For SLES 15: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/SLES.yml Lines 31 to 36 in fcb6021
For SLES 12.5: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/SLES.yml Lines 70 to 71 in fcb6021
For Fedora: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/Fedora.yml Lines 29 to 33 in fcb6021
For openSUSE: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/openSUSE.yml Lines 19 to 23 in fcb6021
For Debian: infrastructure/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/Debian.yml Lines 20 to 24 in fcb6021
|
The Git project has now released new versions of git to fix recent security vulnerabilities, and since the playbooks are installing git built from source of version 2.15.0 (from October 2017), changing them to use the fixed version (2.39.1) would help with ensuring that the systems we configure with them are fixed also.
https://github.blog/2023-01-17-git-security-vulnerabilities-announced-2/
Searching the playbooks for "git" hits on 97 files most of which are likely to be unrelated to the installation of git itself, but will still need checking. However, searching on "git --version" found these 5, all of which will definitely need updating:
I checked the Dockerfiles also, but they don't include any hard-coded git versions.
The text was updated successfully, but these errors were encountered: