Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 52159

Summary: Incorrect free space check during kernel build
Product: [Retired] Red Hat Raw Hide Reporter: vvs <vvs009>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-26 03:47:52 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 vvs 2001-08-21 08:08:56 UTC
Description of Problem:

Disk space check in spec's "spaceof" scriptlet reports incorrect amount of
free disk space if /var/tmp or /usr/src/redhat/BUILD is a loopback
filesystem. It reports free space of host partition which contained
filesystem file image instead.

Version-Release number of selected component (if applicable):

kernel-2.4.7-2

How Reproducible:

Always

Steps to Reproduce:
1. create ext2 filesystem in one big enough file, so that there would
remain less than 200MB of free space in it's host filesystem
2. loopback mount it either at /var/tmp or /usr/src/redhat/BUILD
3. rpmbuild --rebuild kernel-2.4.7-2.src.rpm

Actual Results:

Report that there are not enough free disk space, while actually there are
plenty of it

Expected Results:

Build should either report error if this configuration is not supported or
check for free space inside the loopback filesystem, not in it's host
filesystem

Additional Information:
	
It is very useful to temporary get more free disk space for rpm builds,
than to actually reserve this space during installation. I have FAT32
filesystem with big amount of free space and would like to use it sometimes
for Linux