RPM

Comment 1 for bug 651572

Revision history for this message
In , Petr (petr-redhat-bugs) wrote :

Description of problem:
if file has size=1 then second field of "rpm --dump" shows size=0

priority = lower then low

Version-Release number of selected component (if applicable):
all
# rpm -q rpm
rpm-4.4.2.3-3.el5

How reproducible:
always

Steps to Reproduce:

# rpm -ql rpm --dump | grep __db.001
/var/lib/rpm/__db.001 0 1194852312 d41d8cd98f00b204e9800998ecf8427e 0100644 rpm rpm 1 0 0 X
# ll /var/lib/rpm/__db.001
-rw-r--r-- 1 root root 24576 2008-08-28 18:39 /var/lib/rpm/__db.001

Actual results:
--dump shows size of /var/lib/rpm/__db.001 zero

Expected results:
--dump shows size of /var/lib/rpm/__db.001 is 1

# rpm -ql rpm --dump | grep __db.001
/var/lib/rpm/__db.001 1 1194852312 d41d8cd98f00b204e9800998ecf8427e 0100644 rpm rpm 1 0 0 X

Additional info:

found during testing bug 250207