When you go through INSTALLATION DESTINATION and pick automatic partitioning, anaconda runs a calculation of whether there's enough free space and requires you to clear some if there isn't enough. This calculation seems to *always* include space for a swap partition, even though on Fedora we do not create one by default any more since https://fedoraproject.org/wiki/Changes/SwapOnZRAM . The calculation is done here: https://github.com/rhinstaller/anaconda/blob/c714884495691310b44305e09c24c1522c50d70a/pyanaconda/ui/gui/spokes/storage.py#L622 It *always* includes space for a swap partition - `auto_swap = suggest_swap_size()` , then includes `auto_swap` in subsequent calculations and calls - without regard to whether the automatic partitioning will actually create one. I believe this code was written before the swaponzram change and just nobody realized it would need updating with that change; before that change, we could assume that automatic partitioning would always include a swap partition of the size suggested by `suggest_swap_size()`, but these days that is no longer a safe assumption. Note I think there *are* still some cases in which a swap partition is included, so we need to do some kind of check as to whether one is going to be included, we can't just switch to *always* not including it in the calculation.
Sorry, forgot to credit Richard Shaw for this discovery - I'm just passing the report along: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/OAQTWLBNZQ54OZE7FHJQYZDVY4FQO5NG/
Fixed in https://github.com/rhinstaller/anaconda/pull/4238.
Woohoo! Thanks.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.