Re: adding pkgs to non-global zones



hi Frank,

if a package must be installed in all zones identically or not is defined in
3 new parameters in the pkginfo file within the package.

The parameter SUNW_PKG_ALLZONES is the moste relevant for your question. If
the value is "true" the package _must_ be installed and identical in all
zones and it _must_ be installed by the global zone admin.

If the value is "false", the package can be installed in a local zone only.
For installing in the global zone only you have to use the "-G" option then.

Look at #man -s5 pkginfo

Michael Weis



Frank Cusack wrote:
Can I safely run pkgadd and pkgrm to add/remove pkgs from non-global
zones? I want to create non-sparse zones but some of them need
packages I don't wish to add to all zones. If I add a package from
the global zone, the only options are global-zone-only or all-zones.

Assuming that works, how do I keep the non-global zone patched?
Running smpatch from the global zone patches all zones. Can I just
run smpatch from the non-global zone?

Yes, I will be "upgrading" to pca eventually.

-frank


.



Relevant Pages

  • Installing packages inside a zone
    ... I see the following errors when installing packages inside a zone after ... For example when installing the xpm package, ... Read-only file system ...
    (SunManagers)
  • Re: NBC: Internet security question
    ... I've read good things about both Zone Alarm's Internet Security ... package and Kaspersky's Internet Security package I know that the new ... Windows users who connect to the Interwebs via broadband should both have a/v protection and consider a firewall. ...
    (rec.music.artists.springsteen)
  • Re: NBC: Internet security question
    ... I've read good things about both Zone Alarm's Internet Security ... package and Kaspersky's Internet Security package I know that the new ... Windows users who connect to the Interwebs via broadband should both have a/v protection and consider a firewall. ...
    (rec.music.artists.springsteen)
  • Oracle in non-global zone
    ... I hoped that the zone oracle would automatically benefit from these ... When installing in a non-global zone one instead has to add the ... if I wantto install Oracle in the global zone? ...
    (SunManagers)
  • Summary - Installing packages inside a zone
    ... My non-global zone was a sparse root zone and hence I wasn't able to ... I see the following errors when installing packages inside a zone after ... complaining about package conflicts. ... Read-only file system ...
    (SunManagers)