Bug 70527 - rpm -V does not return accurate data with --root in rescue mode
rpm -V does not return accurate data with --root in rescue mode
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
limbo
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-08-02 01:47 EDT by Ralph Rodriguez
Modified: 2008-05-01 11:38 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description Ralph Rodriguez 2002-08-02 01:47:17 EDT
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:
Always

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
exit

Also, this works:

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

So the --root is not completely broken.
Comment 1 Jeff Johnson 2002-08-02 10:27:58 EDT
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.