prelink changes file size and md5sum

Kin H. Au kin.au at oracle.com
Thu Mar 10 08:13:45 UTC 2005


I am using FC3 and notice very wired behavior.  The rpm -q --dump output 
is inconsistent with actual file attribute.

# rpm -q --dump glibc | grep lib/tls/libc-2.3.4.so
/lib/tls/libc-2.3.4.so *1451615* 1103537616 
*3f269651d6f0953ce3f753760efa5026* 0100755 root root 0 0 0 X
# ls -l /lib/tls/libc-2.3.4.so
-rwxr-xr-x  1 root root *1454835* Dec 20 02:13 /lib/tls/libc-2.3.4.so
# md5sum /lib/tls/libc-2.3.4.so
*d6abef51fef1c5df35398f5fff34b714 * /lib/tls/libc-2.3.4.so

The funny thing is that rpm -qV glibc doesn't report any md5sum 
inconsistent.  It takes me 2 days and finally find out the different 
file size and different md5sum is caused by prelink daily cornjob ( 
/etc/cron.daily/prelink ).  I wonder why md5sum and file size are 
different from rpm -q --dump output?  Can someone explain to me? 

Kin

Kin



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050310/9bac1d0d/attachment-0001.htm>


More information about the fedora-list mailing list