Skip to content
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

Fix kernel tools version mismatch #2072

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

hotspoons
Copy link

This PR adds the kernel-tools package to the version-locked packages in the AL2 AMI. Currently, kernel-tools can be updated to versions independent of the installed kernel version when applying other updates when we run yum update -y to patch the OS. This gets flagged as a "high" vulnerability by our Tenable scans, because Tenable thinks that there is a pending kernel upgrade that we need to reboot our EC2s for to apply, even though there is no pending kernel upgrade:

image

By version locking kernel tools to the kernel version, this should no longer be an issue, and we can coordinate kernel-tools upgrades with kernel upgrades by manually unlocking the packages when we are ready to apply updates.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

Version locked kernel tools with kernel so they don't get out of sync
Update kernel tools version to kernel version
@cartermckinnon
Copy link
Member

Our AL2 AMI doesn't have kernel-tools installed (based on what I see in a recent CI run): https://github.com/awslabs/amazon-eks-ami/actions/runs/11975040769

Which EKS AMI are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants