System Administration Guide: Basic Administration

How to Add a Unsigned Solaris Patch (smpatch)

Use this procedure on a system that runs the Solaris 9 release.

This procedure assumes that the patch is has already been downloaded to the /var/sadm/spool directory and is unzipped.

  1. Become superuser.

  2. Add the patch or patches.


    # /usr/sadm/bin/smpatch add patch-ID-revision
    

    For example:


    # /usr/sadm/bin/smpatch add -i 115028-01
    Authenticating as user: root
    
    Type /? for help, pressing <enter> accepts the default denoted by [ ]
    Please enter a string value for: password :: 
    Loading Tool: com.sun.admin.patchmgr.cli.PatchMgrCli from holoship
    Login to holoship as user root was successful.
    Download of com.sun.admin.patchmgr.cli.PatchMgrCli from holoship was 
    successful.
    
    Patch 115028-01, or a patch required by patch 115028-01, requires a 
    system reboot after installation. Perform a reconfiguration reboot 
    immediately after the installation.
    
            On machine holoship ...
                    Installing patch 115028-01
  3. Check smpatch messages for instructions to reboot the system.

    Reboot the system if you are instructed to reboot.


    # init 6
    
  4. Verify that the patch was added successfully.


    # patchadd -p | grep patch-ID-revision