Bug 59485

Summary: rpm shouldn't check *all* filesystems for size
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mark7>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
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: 2002-02-08 21:01:47 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 Need Real Name 2002-02-08 21:01:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.17 i686; Nav)

Description of problem:
RPM should check only the filesystems that are going to have files installed on
them for enough size.  Currently, if one has a slow smbfs mount, one is either
stuck with using --ignoresize or waiting...and waiting...and waiting while the
size of all mounted filesystems is examined.

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

How reproducible:
Always

Steps to Reproduce:
Mount a slow smbfs mount, and run rpm -Uvh <rpmname>.  If other i/o is going on
on the filesystem, things become even more unbearable.

Actual Results:  rpm waits and waits on examining the smbfs filesystem size

Expected Results:  rpm should have skipped checking the smbfs filesystem size,
since no files were being installed on that filesystem.

Additional info:

rpm-4.0.3-1.03

Comment 1 Jeff Johnson 2002-02-08 22:42:50 UTC
rpm has to check all mounted file systems for file paths, or disk accounting
doesn't "work". There's no way to tell a priori where the files
in a package are gonna end up, nor is it possible to take into
account in packaging, all possible types of file system mount points.

What may be a bit subtle, is that rpm also does disk accounting
through all file system symlinks, even if the symlink points to, say, another
mounted files system.

Use --ignoresize if necessary, that's what the option is there for.