[pca] Method to stop applying patches when a patch fails to apply?
Martin Paul
martin.paul at univie.ac.at
Wed Mar 7 12:44:09 CET 2012
Cashion, David (DXZ) wrote:
> For instance, sometimes a kernel patch will fail to fully apply for various
> reasons. Since it shows up as being installed, the other patches that depend
> on that kernel patch will successfully install.
Hm, that's weird, I've never seen that. I always thought that this is taken care
of by patchadd - when it noticed that a patch wasn't installed completely, it
backs out all changes it made. When patchadd isn't atomic, things will become
unpredictable.
> I'm not sure how the CPU patchset determines if a kernel patch was
> successfully applied, but the patchset script will notice the incomplete
> kernel patch installation and try to reapply it.
I couldn't find anything in the patchset install script on a quick glance (it's
a loooong script). But I really think that it should be patchadd which should
take care of that, not some other script.
Without knowing the exact conditions of such a partly-failed patch install, it
will be impossible to add a workaround to PCA, I'm afraid. If you have more
details, feel free to post them here and/or report it to Oracle.
Martin.
> Thanks much, David Cashion
>
>
>
>
--
Martin Paul \ System Administrator
University of Vienna \ http://www.par.univie.ac.at/
Faculty of Computer Science \ Nordbergstrasse 15/C/3, A-1090 Wien
Research Group Scientific Computing \ Tel +43 1 427739403 Fax +43 1 42779394
More information about the pca
mailing list