Hi,
Is it possible to create a sparse root zone from within a package's postinstall
script?
I've created a package; and via the postinstall script, I want to create a
basic sparse root zone. Despite the postinstall script working fine as a stand
alone script (creates zone no problemo), it fails
I saw that in Solaris 11/06 (update 3), limitpriv was implemented for
configuration of zones. I've added the dtrace_proc and dtrace_user to a zone,
but DTrace inside the zone doesn't support these features yet...
However DTrace within a zone, seems to have been supported since at least the
Sola
[i]is there a way to NOT use /usr/local from the global zone and use a local
copy[/i]
Yes, but you are going to have to change how the zone is configured.
Chapter 18 of the document System Administration Guide: Solaris
Containers-Resource Management and Solaris Zones
(http://docs.sun.com/app/
[i]If I used: pkgadd -G -d top, my question is, will the local zones be able to
utilize the top command that was specifically installed on the global zone.[/i]
You've practically answered your own question. What the -G option of pkgadd
does is specifically install the package in the global zone
[i]what would be the proper way to deal with /usr on my zone? [/i]
If you'd like a fully writable /usr, then certainly remove the inheritance. In
zonecfg:
[b]zonecfg:my-zone> remove inherit-pkg-dir dir=/usr[/b]
[i]what will this do for me?[/i]
It'll give you a fully writable /usr directory. Ho
Hi,
I'm installing a package into a zone
The pkgadd command works correctly from within the zone, e.g.
[i]global # zlogin my-zone
my-zone # pkgadd -d ...[/i]
However, when I try the same command but as an argument to zlogin, it fails.
(pkgadd: ERROR: checkinstall script did not complete succes