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

[RHEL 9.3] Make /boot 600 MiB big on RHEL 9.3+ #221

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

achilleas-k
Copy link
Member

Backport of #186 for release into RHEL 9.3.0z.

In the next commit, we will want to make adjustments based on the RHEL
minor version.
Changes in xfsprogs in 9.3 caused XFS partitions have less available space
(due to more space reserved for the log section).

We discovered that this causes issues with kernel updates. When 3 kernels are
already installed and dnf wants to install a new one (and replace the oldest
one), /boot must contain 4 kernels for a brief period of time, which
doesn't fit on the small partition. This causes the transation test to fail,
and dnf refuses to perform such a transaction.

There's a workaround: Remove one of the kernels manually using `dnf remove`
before running an update.

This is however quite surprising and annoying, thus this commits bumps the
size of /boot to 600 MiB starting from 9.3 (and on CentOS Stream).
pkg/distro/rhel9/edge.go Show resolved Hide resolved
@achilleas-k achilleas-k merged commit 857e8f4 into osbuild:rhel-9.3.0 Oct 23, 2023
9 checks passed
@achilleas-k achilleas-k deleted the pr/rhel-9.3.0/boot-600 branch October 23, 2023 17:01
achilleas-k added a commit to achilleas-k/osbuild-composer that referenced this pull request Oct 23, 2023
Update images dependency to pull in change to partition tables for RHEL
9.3 images.

osbuild/images#221
thozza pushed a commit to osbuild/osbuild-composer that referenced this pull request Oct 24, 2023
Update images dependency to pull in change to partition tables for RHEL
9.3 images.

osbuild/images#221
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.

None yet

3 participants