[pca] [more off topic - I'll stop this, I promise] rm -rf /var/sadm/patch/1*

Martin Paul martin at par.univie.ac.at
Fri Aug 19 14:06:23 CEST 2011


Hi Loris,

loris.serena at bnymellon.com wrote:
> On a Sol10x86 system (VM on ESX 4), I've \managed\ to issue the above 
> command.   :-(
> What's the impact of that on the health of my server?

AFAIK, this won't impact the health of your server at all. It will keep running, 
and it will reboot without problems. You will also be able to install new patches.

The only thing affected is probably backing out patches. patchrm will look at 
/var/sadm/patch/<PATCH-ID> for prebackout/postbackout scripts, which will be run 
during the patch backout process. You have removed these files, so backing out a 
patch might not give the expected result. If it's really necessary to backout a 
patch one day, I'd probably copy /var/sadm/patch/<PATCH-ID> from another system 
where the patch is installed - I think the *backout scripts are generic, and not 
installation-dependent.

The other files to be found in /var/sadm/patch/1*/ are informative only (patch 
README and log of patch installation).

Martin.



More information about the pca mailing list