[pca] 32bit EBS patch on 64bit hosts
Martin Paul
martin at par.univie.ac.at
Fri Oct 3 14:59:28 CEST 2008
David Stark wrote:
> We've got a bunch of machines with EBS clients installed, and every pca run results in:
> 116831 -- < 04 -S- 647 Sun StorEdge EBS 7.2: 32-bit Product Patch SU3
> being recommended. This fails with:
I have found the reason for that; the EBS patches use "sparc" and
"sparcv9" in the ARCH field of pkginfo to differentiate between 32-bit
and 64-bit patches. According to "man -s 4 pkginfo" this should not be done:
... should restrict itself to ARCH values from the following
Solaris-supported instruction set architectures (uname -p):
sparc, i386, and ppc.
Right now, I don't think I can workaround this in pca, not even with a
hack. pca uses "uname -a" to get information about the host, and this
doesn't include the 32/64 bitness. Only isainfo does, but that would
mean introducing a new required input source, which I'm not very keen to do.
Could you please send me output of:
uname -a > uname.out
showrev -p > showrev.out
pkginfo -x > pkginfo.out
of the affected machine for further analysis? As a workaround, add
"ignore=116831" to pca.conf so the patch won't show up again.
> There is a 64bit patch (116832-04), but this is never suggested by PCA.
This is caused by an unusual architecture specification as well, this
time in patchdiag.xref. I've found some more of those when looking
closer, and fixed those as well in the current development release.
Please get and try that on your system - both EBS patches should show up
now. If not, I'll need the *.out file to test locally.
Martin.
More information about the pca
mailing list