Red Hat Bugzilla – Bug 59485
rpm shouldn't check *all* filesystems for size
Last modified: 2008-05-01 11:38:01 EDT
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):
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.
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.