awslabs/aws-automated-incident-response-and-forensics

Bug: Not all kernel headers are compiled and uploaded to the S3 bucket when launching an Ubuntu EC2 instance

UrfTheManatee opened this issue · 1 comments

It seems that not all kernel headers are correctly compiled and uploaded to the S3 bucket when the memory module factory is executed. The problem seems to be prevailing to Ubuntu AMI images.

Upon closer investigation it seems there has been a name change on the kernel header names in the apt-cache which is mismatching the bootstrap.sh regular expression.

If we look at the kernel headers:

linux-aws-headers-5.4.0-1015 - Header files related to Linux kernel version 5.4.0
linux-headers-5.8.0-1041-aws - Linux kernel headers for version 5.8.0 on 64 bit x86 SMP