[install-discuss] problem with pkg deployment and zones
Dave Miner
Dave.Miner at Sun.COM
Tue Aug 7 12:53:44 PDT 2007
mario heimel wrote:
> we have installed our packages in all global and non-global zones.
>
> the packages will also be propagated to all future, newly installed
> non-global zones but the pre/postinstall scripts from our packages
> does not run at zone installation.
>
Are the zones whole-root, or sparse (i.e. do they have any
inherit-pkg-dir directives in the zone configuration)? In the case of a
sparse zone, packages which install into inherited areas will not have
the scripts run.
> the pre/postinstall scripts was not saved at the initial installation
> of the package in the global zone.
>
"Not saved" could mean many things, do you mean in the
/var/sadm/pkg/<pkgname>/pspool area for the package?
> the ugly workaround is to install the packages manually after a new
> zone was created.
>
I don't think we can offer more suggestions without knowing what release
of Solaris, what patches, specific zone configurations, and so on. But
if it's Solaris 10, you'll probably do better by placing a call under
your service contract.
Dave
More information about the install-discuss
mailing list