plus3it / spel

STIG-Partitioned Enterprise Linux (spel)
Other
91 stars 61 forks source link

[BUG] The `/boot` partition is too small for `UEK`-enabled Oracle Linux 8 AMIs #675

Closed ferricoxide closed 3 months ago

ferricoxide commented 3 months ago

Expected behavior

One should be able to install kernel updates as part of a dnf update operation.

Actual behavior

Due to Oracle Linux 8 having a much fatter kernel than RHEL 8 or CentOS Stream 8, the /boot partition on Oracle Linux 8 images ends up being too small when using the default partition-sizes. This prevents any dnf update operations that involve updating the kernel RPMs.

Steps to reproduce behavior

  1. Launch a system from an Oracle Linux 8 AMI that is a couple months old
  2. Attempt to patch up the resulting EC2 (e.g., dnf update -y)
  3. Operation fails due to insufficient space in /boot

Suggestions for fix

Either: