Describe the bug
AMIgen assumes that resultant instances are relatively short-lived, such that the kernel will either never be updated (absent a rebuild) or will only live long enough to be updated a couple times. Thus, no change is made to the value of installonly_limit in the /etc/yum.conf file's default value of 5. If a system-owner persists a system long enough to install more than 2-4 kernel updates, subsequent updates will fail due to lack of free space on the /boot partition.
Severity
[ ] Completely Broken (No work-around evident)
[ ] Severely Broken (Work-around possible but difficult)
[X] Moderately Broken (Trivial work-around)
[ ] Nuisance (Functions but untrapped errors can slip through)
To Reproduce
Steps to reproduce the behavior:
Build a instance with a kernel that's -5 of current
Iteratively yum udate kernel-<VERSION> (where <VERSION> is some version between what's installed and whatever latest available is)
Eventually, one of the iteration will fail due to an out-of-space error condition
Run rpm -q kernel and find that there are 3+ kernels already installed and /boot has less free space than the size of the to-be-installed kernel RPM
Expected behavior
The kernel update RPMs should never fail to install due to space-limitations.
Fix Suggestions
Update AMIgen's ChrootCfg.sh (or later) script to modify the installonly_limit value in the /etc/yum.conf file to 2
Describe the bug AMIgen assumes that resultant instances are relatively short-lived, such that the kernel will either never be updated (absent a rebuild) or will only live long enough to be updated a couple times. Thus, no change is made to the value of
installonly_limit
in the/etc/yum.conf
file's default value of5
. If a system-owner persists a system long enough to install more than 2-4 kernel updates, subsequent updates will fail due to lack of free space on the/boot
partition.Severity
To Reproduce Steps to reproduce the behavior:
yum udate kernel-<VERSION>
(where<VERSION>
is some version between what's installed and whatever latest available is)rpm -q kernel
and find that there are 3+ kernels already installed and/boot
has less free space than the size of the to-be-installed kernel RPMExpected behavior The kernel update RPMs should never fail to install due to space-limitations.
Fix Suggestions
Update AMIgen's
ChrootCfg.sh
(or later) script to modify theinstallonly_limit
value in the/etc/yum.conf
file to2