20050322 Tuesday March 22, 2005

Managing patches gets easier on Solaris 10

Solaris 10 GA includes a program called smpatch which allows you to analyze your system(s) and update them to the patches which you prefer. This is very nice and allows you to install patches over the network on a local or network system. You not be on the local system to perform this.

This is work in progress and a GUI is coming to assist with this utility, but in the meantime it's possible to use this over the network and have your Solaris system updated.

# smpatch analyze
119016-01 SunOS 5.10_x86: Packaging Commands Patch
118997-01 SunOS 5.10_x86: patch usr/sbin/format
118960-01 SunOS 5.10_x86: patch usr/bin/acctcom and usr/bin/lastcomm
# smpatch update
Installing patches from /var/sadm/spool...
119016-01 has been applied.
118997-01 has been applied.
118960-01 has been applied.
/var/sadm/spool/patchpro_dnld_2005.03.21@23:42:00:PST.txt has been moved to /var/sadm/spool/patchproSequester/patchpro_dnld_2005.03.21@23:42:00:PST.txt
/var/sadm/spool/patchpro_dnld_2005.03.22@20:06:35:PST.txt has been moved to /var/sadm/spool/patchproSequester/patchpro_dnld_2005.03.22@20:06:35:PST.txt
#

Check out the man page for more info and more commands, you can download, add, and analyze the patches on a given system, and can do it over the network as well to a remote system. I haven't seen many people talk about this well kept secret, but this is a feature that I'm sure many of you will enjoy having.

( Mar 22 2005, 07:56:41 PM PST ) Permalink Comments [7]