Updated 22 March 2010
Linux Logo

Applying Patches to Non Global Zone Only


Description:
  • This procedures describes how to apply a patch to the Global Zone but exclude applying this patch to any of the non-global zones.
Prerequisites:
  • You must be the global administrator in the global zone to perform this procedure.
Notes:
  • When used in a non-global zone by the zone administrator, patchadd can only be used to add patches to that zone. Apatch can be added to a non-global zone in the following cases:
    • The patch does not affect any area of the zone that is shared from the global zone.
    • All packages in the patch are set SUNW_PKG_ALLZONES=false. Use pkgparam <package> to identify value of parameter.
  • In general, a patch consists of the following components:
    • Patch information:
        • Identification, which is the patch version and patch ID
        • Applicability, which is the operating system type, operating system version, and architecture
        • Dependencies, such as requires and obsoletes
        • Properties, such as requires a reboot afterwards
      • One or more packages to patch, where each package contains:
        • The version of the package to which the patches can be applied
        • Patch information, such as ID, obsoletes, and requires
        • One or more components of the package to be patched
    References:

    Step Action Description
    1 myzone#su -

    Log into the non-gloabl zone and become superuser, or assume the Primary Administrator role.

    2 myzone# patchadd <patch_id> While in the non-global zone, myzone in this procedure, execute the patchadd command followed by the patch ID.
    Click for more info