On 04/09/2010 09:25 AM, Soh Kam Yung wrote:
On Tue, Apr 6, 2010 at 1:27 PM, Koo Jun Hao<[email protected]> wrote:
Dear all,
Just wondering, has anyone encountered situations where md5sums of a binary
is inconsistent across servers?
At $WORK, we needed to confirm the homogeneity of our cluster nodes. Did a
full md5sum of each system, compared them to each other, but there are many
surprising differences.
Don't know why the sums are inconsistent, but it may indicate that
something has changed in the files.
BTW, should you still be using md5sum for this? MD5 is no longer
considered a secure hash algorithm, with examples of two or more
different files generating the same MD5 hash available. [
http://en.wikipedia.org/wiki/MD5 ]
You should migrate to SHA1/SHA256, etc.
Regards,
Kam Yung
A couple of us dug further. It seems that dynamically linked binaries
have different md5sums, while static binaries have the same. Still not
quite sure why though...
Regards,
Junhao
_______________________________________________
LUGS Mailing list - [email protected]
List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq
Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet
To unsubscribe send an empty email to: [email protected]