Project

General

Profile

Bug #447

pkg fix reports hash mismatch against lib/libc.so.1

Added by Jon Tibble about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2010-12-05
Due date:
2013-12-10
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
pkg

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)

History

#1

Updated by Julian Wiesener over 8 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)

  1. pkg verify system/library
    Verifying: PACKAGE STATUS
    pkg://openindiana.org/system/library ERROR
    file: lib/libc.so.1
    Elfhash: 527eff77842f89aa2585650582c2c2787d1b4cb0 should be b7cbdc40d9a7789b5f592c8a2bd64b5d94df275d
  1. grep libc /etc/mnttab
    /usr/lib/libc/libc_hwcap1.so.1 /lib/libc.so.1 lofs dev=2d90002 1303505212
#2

Updated by Alasdair Lumsden over 8 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?

#3

Updated by Ken Mays about 6 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.

#4

Updated by Alex Reece almost 6 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:~#
#5

Updated by Ken Mays over 5 years ago

  • Status changed from Feedback to Closed

Fixed confirmed for: pkg.openindiana.org/hipster-2014.1

Also available in: Atom PDF