[pca] partly installed patches

Martin Paul martin at par.univie.ac.at
Wed Sep 3 14:48:54 CEST 2008


Some of you might know that there's a problem with the Solaris patch 
system which has not been fixed by pca yet:

Assume a patch applies to pkg1 and pkg2, and only pkg1 is installed. 
Installing the patch will fix pkg1 only. If you install pkg2 later, the 
fixes from the patch for this pkg will be missing, but pca will not 
notify you, as the current revision of the patch is installed. You have 
to install the patch to get the fixes for pkg2 as well.

In the past, I've tried to get an overview about how common this issue 
is and how pca could help. Chris Chan now sent me a first version of a 
check for these problematic patches within pca. Based on that, I've now 
put an implementation into the development version of pca (20080903-01).

It will show partly installed patches in the regular list of "missing" 
patches. You can identify them easily, as CR will be equal to IR (ie. 
the current revision is already installed). In debug output, pca will 
report "unpatched package".

If you have systems which might expose the above problem (esp. when a 
lot of packages have been added much later than system installation time 
and frequent patching has occurred) it would be great if you could test 
the development release and report how it works - does it help to find 
unknown missing patches? If you can't explain why a patch is showing up 
in this new release, let me know as well (include pca debug output, 
/var/sadm/patch/<patch>/log, /var/sadm/pkg/<pkg>/pkginfo).

If the new feature works fine, it will fix a long-standing issue, and of 
course set pca even more apart from Sun's own tools :)

Martin.




More information about the pca mailing list