On 03/20/10 09:46 PM, Danek Duvall wrote:
Well, you can do this manually ... figure out what package it's in, extract
the sha-1 hash of the file from the package manifest, and slurp the file
down from the package depot:

     $ pkg search -l /lib/libdlpi.so.1
     INDEX      ACTION VALUE            PACKAGE
     path       file   lib/libdlpi.so.1 pkg:/[email protected]
     $ pkg contents -t file -o path,action.hash SUNWcsl | awk '$1 == 
"lib/libdlpi.so.1" {print $2}'
     5b9e4840b5b9875736081d7927cda597aeba8ee7

This didn't work :-(
# pkg contents -t file -o path,action.hash SUNWcsl | awk '$1 == 
"lib/libdlpi.so.1" {print $2}'
pkg contents: Invalid attribute 'action.hash'
# pkg version
6753a4a480ef

     $ curl -s 
http://pkg.opensolaris.org/dev/file/0/5b9e4840b5b9875736081d7927cda597aeba8ee7 | 
gzip -dc>  /tmp/libdlpi.so.1

But this did. Thank you so much!
at which point you can copy it into place, run tests on it, etc.

# md5sum /lib/libdlpi.so.1
2468392ff87b5810571572eb572d0a41  /lib/libdlpi.so.1
# md5sum /lib/libdlpi.so.1.orig
2468392ff87b5810571572eb572d0a41  /lib/libdlpi.so.1.orig
# zpool status -v
....
errors: Permanent errors have been detected in the following files:

        //lib/libdlpi.so.1.orig

Make sure you do a zfs scrub, and if you have problems after that,
it's probably worth asking on zfs-discuss.

There is a discussion on zfs-discuss that's almost a year old, and
has at least one CR; there's clearly a problem with ZFS at boot on less-
than-stellar hardware - perhaps this new information will help get
closer to the root cause.

Thanks again for your help!

Cheers -- Frank
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to