Yes! Thanks Rex for the clue.
Solution:
[user@host]$ prelink -y /bin/ls |sha256sum
def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e -
[user@host]$ rpm -q --dump coreutils |grep bin/ls
/bin/ls 109208 1288784582 def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e
0100755 root root 0 0 0 X
-Aaron
________________________________________
From: packaging-bounces(a)lists.fedoraproject.org
[packaging-bounces(a)lists.fedoraproject.org] on behalf of Rex Dieter
[rdieter(a)math.unl.edu]
Sent: Monday, May 09, 2011 12:08 PM
To: packaging(a)lists.fedoraproject.org
Subject: Re: [Fedora-packaging] checking digest of one file
On 05/09/2011 01:55 PM, Aaron Hanson wrote:
Hi All -
I can't figure out how to see and validate a specific file digest on my Fedora 14
system; I think I must be missing something simple.
Here's a quick example of what I'm trying to do:
[user@host]$ rpm -q --dump coreutils |grep bin/ls
/bin/ls 109208 1288784582
def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e 0100755 root root 0 0 0
X
[user@host]$ sha256sum /bin/ls
881282512562ad22095371f0865be66f5424b7590e6c73eb15aae884cf9edd1c /bin/ls
Why doesn't the digest match? 'rpm' says the package is fine:
prelink? (something which rpm handles).
-- Rex
--
packaging mailing list
packaging(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging