we are specifying the following in the spec file so that the package gets installed in global zone and in all child zones.
However the package fails to install in global zone and the error that is shown is as below
pkgadd: ERROR: The package <packagename> has <SUNW_PKG_ALLZONES> = true and <SUNW_PKG_THISZONE> = true: the package may set either parameter to true, but may not set both parameters to true. NOTE: if the package contains a request script, it is treated as though it has <SUNW_PKG_THISZONE> = true
pkgadd: ERROR: unable to install package <packagename>
If we specify the following values in spec file
the package gets installed only in global zone only but not in child zone. Just wanted some clarification as to if these parameter values are indeed supported by pkgbuild. Also some pointers on how we can accomplish installing on global and child zones using pkgbuild would be really helpful.