![]() |
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter 24Managing Solaris Patches (Overview)Patch management involves listing or adding Solaris patches from a system running the Solaris release. Patch management might also involve removing unwanted or faulty patches. Removing patches is also called backing out patches. This is a list of the overview information in this chapter. For step-by-step instructions on adding a patch to your system, see Managing Patches in the Solaris Environment (Road Map). For information on adding patches to diskless client systems, see Patching Diskless Client OS Services. Note - Overview information about using the smpatch command with PatchPro has been removed from this guide. For information about using the smpatch command with PatchPro, see Signed Patches Administration Guide for PatchPro 2.2. What Is a Patch?A patch is a collection of files and directories that replace or update existing files and directories that are preventing proper execution of the existing software. The existing software is derived from a specified package format, which conforms to the Application Binary Interface. For details about packages, see Chapter 22, Managing Software (Overview). You can manage patches on your system with the patchadd command. For step-by-step instructions on adding an unsigned patch to your system, see Managing Unsigned Solaris Patches (Task Map). What Is a Signed Patch?A signed patch is a patch with a digital signature. A patch with a valid digital signature ensures that the patch has not been modified after the signature was applied to the patch. Using signed patches is a more secure method of downloading or adding patches because the patches include a digital signature that can be verified before the patch is added to your system. Patches that are available for the Solaris 2.6, 7, 8, and 9 releases include a digital signature. Patches without a digital signature, or unsigned patches, are also available, but eventually, all patches will be signed patches. A valid digital signature ensures that the patch has not been modified since the signature was applied. Signed patches are stored in Java archive format (JAR) files and are available from the SunSolve OnlineSM web site. In previous Solaris releases, you could use the smpatch command with PatchPro to add signed patches to your system. For step-by-step instructions on using the smpatch command, see "Managing Signed Patches by Using Solaris Patch Management Tools (Tasks)" in Signed Patches Administration Guide for PatchPro 2.2. In this Solaris release, you can use the patchadd command to add signed patches to your system. For step-by-step instructions on using the patchadd command, see Adding Signed Patches With patchadd Command (Task Map). For additional overview information about signed patches, see Signed Packages and Patches. Accessing Solaris PatchesAll Sun customers can access patches through the SunSolve OnlineSM web site. The following table describes the various ways to access Solaris patches. Table 24-1 Ways to Access Solaris Patches You can access Solaris patches from a web site or by using anonymous ftp. To access patches from a web site, you need a system that is:
To access patches by anonymous ftp, you need a system that is:
Access patches from the SunSolve OnlineSM web site by using the following URL:
You can install either a patch cluster of recommended patches or individual patches that are freely available. Patch reports are also available. Solaris Patch NumberingPatches are identified by unique alphanumeric strings, with the patch base code first, a hyphen, and a number that represents the patch revision number. For example, patch 108528-10 is a patch ID for the SunOS 5.8 kernel update patch. Tools for Managing Solaris PatchesThe following table summarizes Solaris patch management features.
Detailed information about how to install and back out a patch is provided in the patchadd(1M) and patchrm(1M) man pages. Each patch also contains a README file that contains information about the patch. Selecting the Best Method for Adding Signed PatchesAfter you have installed a patch management tool, you can use several different methods of downloading or adding a signed patch or patches to your system. Use the following table to determine which method is best for your needs.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||