Bug 530778
Summary: | Insufficient check for space on /boot - %post script fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | dougsland, ffesti, gansalmon, itamar, james.antill, jnovy, kernel-maint, maxamillion, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-13 14:28:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mads Kiilerich
2009-10-24 23:57:34 UTC
yum doesn't do the disk space check itself. It lets rpm do it. reassigning. Disk space on /boot is checked like everything else, but rpm has no way of knowing beforehand how much disk space scriptlets are going to consume. Especially in the case kernel and /boot that's a lot, even more so since dracut by default creates some kind of "universal" initrd with all the drivers included. The size of %ghost files is included in the packages and accounted for when checking for disk space requirements, despite the file not actually being included in the package payload. The kernel package should create files of approximate initrd size for the initrd file instead of just touch'ing it, that'll enable rpm to make better estimate of the space needed although it can't be fully accurate as the initrd size can vary between hosts. I checked in a diff to f12 & devel that replaces the touch with a 20MB dd from /dev/zero. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Seems to be solved, closing. |