Patching

January 21, 2007 at 6:50 pm Leave a comment

Sun’s patching tool – smpatch – leaves a lot to be desired. It is written in Java, so is horribly clunky and slow. That would be just about forgivable if it was reliable, but it isn’t. Sun Studio patches simply don’t apply because they have to be added to the global zone via the -G flag, and smpatch can’t do that.

That’s when you grab a copy of Martin Paul’s wonderful Patch Check Advanced, aka PCA. It is a perl script that does the same job as smpatch except:

  • it works
  • it is nice and lightweight
  • it handles Sun Studio patches nicely
  • it works when smpatch doesn’t

The last point is a good one – I updated to Solaris 10 11/06 last year, and that caused showrev -p to start dumping core. That completely broke smpatch and PCA. There’s no sign of a fix from Sun, but Martin tweaked PCA and we’re back up and running again. Thanks Martin!

Advertisements

Entry filed under: OpenSolaris.

“Because you can…” Positive article at The Register

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


January 2007
M T W T F S S
« Dec   Feb »
1234567
891011121314
15161718192021
22232425262728
293031  

OpenSolaris

access(2) OpenSolaris

%d bloggers like this: