[pca] 32bit EBS patch on 64bit hosts
David Stark
dave at davidstark.name
Fri Oct 3 15:45:29 CEST 2008
On Fri, Oct 03, 2008 at 02:59:28PM +0200, Martin Paul wrote:
> 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.
Sun in patch breakage shocker...
I may raise a case with Sun to get this looked at, but I don't know how they'll react to fixes for the sake of third party tools. We'll see what happens.
> 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.
Attached.
>> 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.
Yup, the devel pca version picks up the 64bit patch now, so we're back in business.
> Martin.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ebs-patch-info.tar.gz
Type: application/x-gzip
Size: 30309 bytes
Desc: not available
Url : https://lists.univie.ac.at/mailman/private/pca/attachments/20081003/0f12c8c3/attachment-0001.gz
More information about the pca
mailing list