Table of Contents
Patch Manager has the following features:
PatchPro analysis engine
Local-mode command-line interface
Patch list operations
The Sun Update Connection software has the same functionality as the Sun Patch Manager 2.0 tools, with the addition of some new features and enhancements. If you are running the Solaris 10 initial release, and you want to use Sun Update Connection, install the appropriate patches or upgrade your system to the Solaris Express 10/05 release.
For information about installing and using the Sun Update Connection, System Edition software, see the product documentation at .
Patch Manager incorporates PatchPro functionality to automate the patch management process. This process includes performing patch analyses on systems, then downloading and applying the resulting patches. This automation functionality was previously available for Solaris 2.6, Solaris 7, Solaris 8, and Solaris 9 as a separate PatchPro product and is now part of the standard Solaris 10 release.
PatchPro uses signed patches, which improves the security of Solaris patches by ensuring that they have not been modified.
The pprosetup and pprosvc commands are included with Sun Patch Manager 2.0 for transition purposes. It is best not to use these commands and to use the smpatch command instead.
On Solaris 8 systems, you can only run smpatch in local mode.
Starting with Solaris 9, the smpatch command is available in two modes: local mode and remote mode. Local mode can only be run on the local system. This mode can be run while the system is in single-user or multiuser mode. Remote mode can be used to perform tasks on remote systems. Both local mode and remote mode can be used by users or roles that have the appropriate authorizations.
By default, local mode is run. In local mode, the Solaris WBEM services are not used, and none of the authentication options or those options referring to remote systems are available. The smpatch command in local mode runs faster than in remote mode.
If you specify any of the remote or authentication options (except for
L
), remote mode is used.
You can use the smpatch add command in local mode
to apply patches while the system is in single-user mode. Apply patches in
this way when the patches are associated with the singleuser
patch
property, or when you want to apply any patches to a quiet system.
Use only the smpatch add, smpatch order, and smpatch remove commands to manage patches when your system is running in single-user mode.
You can configure your patch management environment while the system is running in single-user mode by using the smpatch get, smpatch set, and smpatch unset commands.
Do not use the smpatch analyze, smpatch download, and smpatch update commands while the system is running in single-user mode. These commands depend on network services that are not available while the system is in single-user mode.
If you previously used the smpatch update command to update your system with patches, some of the patches might not have been applied. Such patches cannot be applied if they do not meet the policy for applying patches, and must be applied manually in single-user mode.
To apply the patches while the system is in single-user mode, use the smpatch add command with the
x idlist=
option to
specify the list of patches to apply.
You can use the disallowed_patch_list
file as input
to the smpatch add command to apply the singleuser
patches.
This file, stored in the
download directory
,
lists any patch that could not be applied by smpatch update while
the system was in multiuser mode. For example:
# smpatch add -x idlist=/var/sadm/spool/disallowed_patch_list
Patch Manager can create an ordered list of patches that you can save to a text file and use to perform patch operations.
You might use a patch list to apply the same set of patches to systems that have the same hardware and software configurations. Or, you might create a patch list file that contains all pertinent security patches and use the patch list to apply those security patches to one or more systems.
You can create a file that contains an ordered patch list by using the smpatch command in any of these ways:
Perform an analysis of a system – Use the smpatch analyze command to analyze a system to generate an ordered list of patches and write it to a file. You can edit this file to remove unneeded patches.
Supply a specific list of patches – Use the smpatch analyze command to generate an ordered list of patches based on a set of patches that you specify for a particular system. The patch list is resolved by augmenting the list with patches on which they depend.
Point to a collection of patches stored on a system – Use the smpatch order command to produce an ordered list of patches based on a collection of patches stored on a system.
If you modify a patch list and the patches are available on your system, use the smpatch order command to put the list in an order suitable for applying patches. Otherwise, use the smpatch analyze command, which also produces an ordered list of patches.
You can use patch lists as input to the smpatch add, smpatch analyze, smpatch download, smpatch order, and smpatch update commands.
The smpatch add command attempts to apply all of the patches in the patch list, regardless of the policy for applying patches and patch dependencies .