NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/56896: mtree checksum mismatch of some i386 compat libraries



>Number:         56896
>Category:       misc
>Synopsis:       mtree checksum mismatch of some i386 compat libraries
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 21 08:20:00 +0000 2022
>Originator:     RVP
>Release:        NetBSD/amd64 9.99.97
>Organization:
>Environment:
NetBSD  9.99.97 NetBSD 9.99.97 (GENERIC) #0: Thu Jun  9 07:01:27 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Certain i386 compat libraries show checksum mismatches when you run mtree:

---
/root# cat /etc/mtree/set.[bcg-x]* | mtree -e -p /
dev/pts: 
        permissions (0755, 0555)
usr/lib/i386/libkadm5clnt.so.14.0: 
        sha256 (0x88d65c32cf89781fb6fb9d9718549fe571b95e6f7a61c1e9fb7e75848289ade2, 0x23fbcb62a7ca31b4a7f1369520af622cd318b5b7ea6addaba18c77def0d5c6ad)
usr/lib/i386/libldap.so.5.0: 
        sha256 (0xd87666bf036c44a94f85fd2e81fcb509a7734e25a243b5d4d72be15dc79f16c7, 0x0ec0c2b632d62eadc4af76012449e5f7f907a658dfbe315a38708a5316792dce)
usr/lib/i386/libldap_r.so.5.0: 
        sha256 (0xab0af627309befc8bb39af66edd35135b9a140b214918ff16dade9e0ca61d963, 0x22158c7b51ffd9338ea55b54ab466d6dd035e2221330ed66ae54a26446dedf2f)
[...]
/root# 
---

Notice that only the checksums are wrong; the file sizes are the same.
No idea how this could happen, but, this is not a new issue (I think
I've noticed this last year too...)

NetBSD 9.2_STABLE reports this:

---
/root# uname -a
NetBSD x202e.localdomain 9.2_STABLE NetBSD 9.2_STABLE (GENERIC) #0: Mon Jun  6 11:36:16 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
/root# cat /etc/mtree/set.[bcg-x]* | mtree -e -p /
usr/lib/i386/libkadm5srv.so.15.0: 
        sha256 (0xf2f4000bb322ac102e8c1f6f411f2b9d4200fd2675739e91867c2c13b1644214, 0xc347f1b233a2e1a84d41d2143f414716bfe4a159b079914306d36e36a77dd56f)
[...]
/root#
---

The files in /etc/mtree/ are the ones correctly merged by etcupdate(8).

Thx,
-RVP
>How-To-Repeat:
Update NetBSD binary sets and run the command-line as shown.
>Fix:
No clue about this.



Home | Main Index | Thread Index | Old Index