Hi Frank,

On Sun, 2010-03-21 at 11:58 -0400, Frank Middleton wrote:
> >      $ 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

Looks like those bits don't have the fix for:
2885 pkg contents can't specify hash for output field

Can you try

pkg contents -m SUNWcsl | grep lib/libdlpi.so.1 | awk '{print $2}'

to get the hash instead, then use that in the curl command below?

        cheers,
                        tim


> >      $ 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


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

Reply via email to