Bug #37776
openImprove available_space Check in foreman_maintain
Description
Description of problem:
The / free-space check was included in foreman_maintain but it was from the perspective of yum not able to complete the package updates due to lack of disk space in /var/cache , under the assumption that it was residing under / itself.
Mostly people would have a seperate FS for /var or have a large enough / to work with. And those with separate /var partition may not even need 4 GB free space in /.
There are some scenarios where Check fails even when there is plenty of space to handle the yum transaction
How reproducible:
Always when / partition available space < 4096 and /var/ has enough patition
Is this issue a regression from an earlier version:
No
Actual behavior:
The space_available Check fails
Expected behavior:
Check should be success as long as /var/cache had enough space