Re: [pca] Fix to PCA so it stops trying to apply Veritas patches to wrong OS

2012-07-16 Thread Martin Paul

Chris,

sorry for the late reply. I'm stuck in the middle of a move of our 
research group to a new building (and being integrated into a larger 
organisation), so it's not easy to find some spare time for PCA issues 
right now.


As for VRTS patches, you're right about the basic problem. I've added 
the extra rules for 119303/119304/119305 to PCA now for a beginning.


I'm wondering though whether all of the other patches you list are real 
world problems: While many patches are listed as unbundled, their 
package version is often specific enough for PCA to match it to a 
certain OS release or architecture. E.g. often the packages version of 
VRTSxxx is different for sparc and i386, so the package in question will 
never appear on the wrong architecture.


Have you seen all of the patches listed wrongly on a real world system, 
or did you grep all Veritas patches from patchdiag.xref to compile the 
rules?


Don't get me wrong - I'll happily add exceptions for all affected 
patches to PCA (and I still think this is a viable solution, as once 
added they will apply to everybody, so most people never have to 
bother). But on the other hand I only want to add required rules, as the 
list has to be maintained, too.


Martin.



Re: [pca] Fix to PCA so it stops trying to apply Veritas patches to wrong OS

2012-07-10 Thread Dagobert Michelsen
Hi Chris,

Am 10.07.2012 um 19:57 schrieb Chris Elfers:
When we began our current patch cycle with all Veritas patches in our 
 bundle, we noticed that PCA was attempting to add all Veritas patches 
 regardless of OS. Because of the previously mentioned patchdiag.xref issue 
 where Oracle doesn't label the patches with the right OS. 
 
   But PCA still doesn't know about at least 108 VRTS patches.
 
   For example, this is only for 5.8 but Oracle just says 'Unbundled' and PCA 
 tries to install everywhere:
 119303|03|Mar/05/07| | | |  
 |Unbundled|sparc;|VRTSodm:4.1,REV=4.1B18_sol_GA_s10b74L2a;|VERITAS ODM 4.1: 
 ODM 4.1 Maintenance Pack 02
 
   I had to add the following lines to the set_extra_req() PCA function with 
 the real OS in order to make PCA know what to do.
 
   Is there an easier, supported method to do this? 

The main problem is that only some Veritas patches are available from Oracle
while there are others (like the VxVM extensions for CVM) that are only bundled
together with the patch bundles from Symantec. When you attempt to patch a
system with CVM it leaves some components unlatched resulting in a non-working
system. Same goes for Legato Networker. I strongly recommend to always exclude
third party package patches like described here:
  https://lists.univie.ac.at/pipermail/pca/2009-February/000832.html

For system with just the storage foundation your modifications are helpful, 
though.


Best regards

  -- Dago

smime.p7s
Description: S/MIME cryptographic signature