Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 77766 - rpm -e --justdb ... stat64's a lot of files.
rpm -e --justdb ... stat64's a lot of files.
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2002-11-13 04:43 EST by Aleksey Nogin
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-27 16:12:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Aleksey Nogin 2002-11-13 04:43:22 EST
Shouldn't "rpm -e --justdb ..." just work on the db and not look around in the fs?

Strace shows a lot of stat64 calls - both on files belonging to packages being
erased from the db and on files belonging to packages that are being kept.
Comment 1 Jeff Johnson 2002-11-15 13:21:14 EST
stat64's are needed for fingerprint calculation,
necessary to compute filestate tag before adding
to the database (even with --justdb).
Comment 2 Aleksey Nogin 2002-11-16 12:43:07 EST
> ... before adding to the database ...

But that's my point - I was not *adding* anything - this was a -e!
Comment 3 Jeff Johnson 2003-12-27 16:12:11 EST
stats are needed for fingerprints on erase too.

Note You need to log in before you can comment on or make changes to this bug.