Bug 70527 - rpm -V does not return accurate data with --root in rescue mode
Summary: rpm -V does not return accurate data with --root in rescue mode
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: limbo
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-08-02 05:47 UTC by Ralph Rodriguez
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-02 05:47:21 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ralph Rodriguez 2002-08-02 05:47:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408

Description of problem:
rpm -V --root /mnt/sysimage pkgname in rescue mode returns the message
that all files are missing, when only one file was corrupted.

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

How reproducible:

Steps to Reproduce:
1. cp /bin/date /bin/mount
2. reboot, entering rescue mode, using NFS, and agreeing to mount FS's
3. Run: rpm -V --root /mnt/sysimage mount

This will list a number of items missing.

Actual Results:  A number of files will be listed as missing.

Expected Results:  A single entry should be returned reporting:

S.5....T   /bin/mount

Additional info:

This returns the correct info:

chroot /mnt/sysimage
rpm -V mount

Also, this works:

rpm -ihv --replacepkgs --root /mnt/sysimage mount

So the --root is not completely broken.

Comment 1 Jeff Johnson 2002-08-02 14:27:58 UTC
Fixede in rpm-4.1-0.65. Thanks for reporting.

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