Bug #447
closedpkg fix reports hash mismatch against lib/libc.so.1
100%
Description
pkg fix reports an Elfhash mismatch against lib/libc.so.1 but as this is mounted against a hwcap it is unlikely ever to work.
jt@oidev0:~$ pfexec pkg fix system/library
Verifying: pkg://openindiana.org/system/library ERROR
file: lib/libc.so.1
Elfhash: 0164ad51aa3e50ef59b346f8893d8a2b8f147106 should be 3f29bca61d41a3db7a0f4e7bcd069dd9b0648862
Created ZFS snapshot: 2010-12-06-01:37:56
Repairing: pkg://openindiana.org/system/library
pkg: Requested "fix" operation would affect files that cannot be modified in live image.
Please retry this operation on an alternate boot environment.
jt@oidev0:~$
(For the record a fix from another BE followed by reboot back into this one produces exactly the same message)
Updated by Julian Wiesener about 11 years ago
- Category set to PKG (Image Packaging System)
- Assignee set to OI PKG
- Priority changed from Normal to Low
pkg verify needs to handle lofs files (Upstream Bug)
- pkg verify system/library
Verifying: PACKAGE STATUS
pkg://openindiana.org/system/library ERROR
file: lib/libc.so.1
Elfhash: 527eff77842f89aa2585650582c2c2787d1b4cb0 should be b7cbdc40d9a7789b5f592c8a2bd64b5d94df275d
- grep libc /etc/mnttab
/usr/lib/libc/libc_hwcap1.so.1 /lib/libc.so.1 lofs dev=2d90002 1303505212
Updated by Alasdair Lumsden over 10 years ago
- Difficulty set to Medium
- Tags set to needs-triage
Hi Julian - do you know if this was fixed in pkg? If so, I don't suppose you could find the changeset?
Updated by Ken Mays over 8 years ago
- Due date set to 2013-12-10
- Status changed from New to Closed
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
- Tags changed from needs-triage to pkg
I noted the same behavior in Solaris 11 builds so this is not OI-specific. Updates to hipster/pkg5 12-10-13 release was done with rebuilt index. I closed this ticket based on non-OI-specific, new pkg5 update, and non-critical issue for system/library.
Updated by Alex Reece about 8 years ago
- Status changed from Closed to Feedback
What behavior did you see on Solaris 11 builds? On my solaris 11 machine, pkg verify passes cleanly on system/library:
root@sol11x86src1:~# mount | grep libc /lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/rstchown/dev=4490002 on Sat Aug 24 12:40:08 2013 root@sol11x86src1:~# pkg verify system/library root@sol11x86src1:~#
Updated by Ken Mays almost 8 years ago
- Status changed from Feedback to Closed
Fixed confirmed for: pkg.openindiana.org/hipster-2014.1