Hi Vineeth and Enda,

Thank you very much for your kind reply.

Patches with SUNW_PKG_ALLZONES=true means it applies on both global zone
and non global zone regardless inherited directory, These patches
include kernel patches, right ?

if non global zone is not inherited from global zone, and when the
parameter SUNW_PKG_ALLZONES=false, does it mean the patch with
SUNW_PKG_ALLZONES=false will not applied on both global zone and non
global zone.

Or SUNW_PKG_ALLZONES=false works together with other parameters (such as
SUNW_PKG_ALLZONES or SUNW_PKG_THISZONE) as the following description ?

http://docs.sun.com/app/docs/doc/817-1592/gcbox?l=en&q=SUNW_PKG_HOLLOW&a=view

In fact, I was confused by the description above. I am not sure link
above is available for the whole zone as Enda described below.

===snip from Enda description===
No, SUNW_PKG_ALLZONES means that the patch can only be applied from the
global zone, and will apply to all non global zones, regardless.
So it doesn't matter whether the zone is sparse or whole ( whole is
where there are no inherited dirs, as in your case ).
===snip from Enda description===

Thank you very much.
Best Regards
chunhuan

Vineeth Pillai wrote:
> Hi Chunhuan,
> 
> SUNW_PKG_ALLZONES when set to TRUE means that the package has to be 
> applied either to all zones or no zones.
> A patch with SUNW_PKG_ALLZONES=TRUE cannot exist on as subset of the zones.
> 
> The above statement is valid irrespective of whether the zone is a whole 
> root zone or a sparse root zone.
> 
> HTH,
> Vineeth
> 
> [EMAIL PROTECTED] wrote:
>> Hi experts,
>>
>> I would like consult you some questions regarding applying
>> patches on global/non-global zone.
>>
>> If non-global zone isn't inherited from global zone(for example,
>> when created zone by zonecfg via removing inherit-pkg-dir), there
>> is no relation between global zone and non-global zone when apply
>> the patches, right ?
>>
>> That is to say if flag SUNW_PKG_ALLZONES is set to true
>> ("SUNW_PKG_ALLZONES=true"), even though the patches are applied on
>> global zone, these patches won't be installed on non-global zone,
>> right ?
>>
>> Thank you very much.
>> Best Regards
>> chunhuan
> 
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to