Packages have parameters that control how their content is distributed and made visible on a system with non-global zones installed. The SUNW_PKG_ALLZONES, SUNW_PKG_HOLLOW, and SUNW_PKG_THISZONE package parameters define the characteristics of packages on a system with zones installed. These parameters must be set so that packages can be administered in a system with non-global zones.
The following table lists the four valid combinations for setting package parameters. If you choose setting combinations that are not listed in the following table, those settings are invalid and result in the package failing to install.
Ensure that you have set all three package parameters. You can leave all three package parameters blank. The package tools interpret a missing zone package parameter as if the setting were “false,” but not setting the parameters is strongly discouraged. By setting all three package parameters, you specify the exact behavior the package tools should exhibit when installing or removing the package.
SUNW_PKG_ALLZONES Setting |
SUNW_PKG_HOLLOW Setting |
SUNW_PKG_THISZONE Setting |
Package Description |
---|---|---|---|
false |
false |
false |
This is the default setting for packages that do not specify values for all the zone package parameters. A package with these settings can be installed in either the global zone or a non-global zone.
In both cases, the entire contents of the package is visible in all zones where the package is installed. |
false |
false |
true |
A package with these settings can be installed in either the global zone or a non-global zone. If new non-global zones are created after the installation, the package is not propagated to these new non-global zones.
In both cases, the entire contents of the package is visible in the zone where the package is installed. |
true |
false |
false |
A package with these settings must follow these requirements:
A package with these settings can only be installed by running the pkgadd command in the global zone. Any attempt to run the pkgadd command in a non-global zone to install this package fails. When the pkgadd command is run in the global zone, the package is installed in the global zone and then installed in all non-global zones. The entire contents of the package is visible in all zones. |
true |
true |
false |
A package with these settings can only be installed in the global zone, by the global administrator. When the pkgadd command is run, the contents of the package is fully installed in the global zone. If a package has the package parameters set to these values, the package content itself is not delivered on any non-global zone. Only the package installation information necessary to make the package appear to be installed is installed on all non-global zones. This enables the installation of other packages to be installed that depend on this package. For more information on “hollow” packages, see Chapter 23, About Packages and Patches on a Solaris System with Zones Installed (Overview), in System Administration Guide: Solaris Containers-Resource Management and Solaris Zones. For package dependency checking purposes, the package appears to be installed in all zones.
|
Description |
For More Information |
---|---|
For more details on packages and zones | |
For an overview of sparse and whole root zones | |
For information about package characteristics and parameters | |
For information about displaying package parameter values |