[zones-discuss] Creating a sparse root zone via a package's postinstall script

2007-08-01 Thread Fat Ted
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

[zones-discuss] Zones and Dtrace

2007-07-12 Thread Fat Ted
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

[zones-discuss] Re: A seperate /usr/local/

2007-05-03 Thread Fat Ted
[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/

[zones-discuss] Re: packages installed on global zone

2007-05-03 Thread Fat Ted
[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

[zones-discuss] Re: /usr

2007-05-01 Thread Fat Ted
[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

[zones-discuss] zlogin package install

2007-04-13 Thread Fat Ted
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