Bug 77766 - rpm -e --justdb ... stat64's a lot of files.
Summary: rpm -e --justdb ... stat64's a lot of files.
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 8.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-13 09:43 UTC by Aleksey Nogin
Modified: 2007-04-18 16:48 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Aleksey Nogin 2002-11-13 09:43:22 UTC
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 18:21:14 UTC
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 17:43:07 UTC
> ... 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 21:12:11 UTC
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.