[zones-discuss] root user in zone - halt-reboot

2007-06-18 Thread bruno
hello, Is it possible to forbid halt or reboot the zone for root user of a zone (non-global) ? The goal is to handle only a zone reboot with the global zone with the root of the global zone. best bruno This message posted from opensolaris.org ___

Re: [zones-discuss] Re: project.cpu-shares rctl failing within zone on b65

2007-06-18 Thread Menno Lageman
Mark Mayo wrote: To follow up, it's the setproject() call in particular that's having the problem within a zone when any project.x rctl is on the project. In code, I can use setrctl() just fine but code like: pj = getdefaultproj("mark", &proj, pjbuffer, PROJECT_BUFSZ); spjerr

[zones-discuss] Finding out properties of a directory within a zone

2007-06-18 Thread Andrew Black
Is there a way of finding out the status of a particular directory from within a nonglobal zone. I would like to find out whether a directory is - inherirted package directory (read only in the zone) - zone has its own copy - shared with the global zone Forgive me if I have the wrong terminolo

Re: [zones-discuss] Finding out properties of a directory within a zone

2007-06-18 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Andrew Black wrote: Is there a way of finding out the status of a particular directory from within a nonglobal zone. I would like to find out whether a directory is - inherirted package directory (read only in the zone) - zone has its own copy - shared with the global zone Forgive me if I ha

[zones-discuss] Adding pkg to local-zone

2007-06-18 Thread Lou Cinci
A CU wants to use Screen tool within a local zone (Solaris 10 1/06). The screen (requires ncurses) tool was downloaded from SunFreeWare and installed in /usr/local/bin on the GZ. The pkgadd tool was used to install both screen and ncurses. Screen seems to work ok in the GZ. The LZ was built with

Re: [zones-discuss] Adding pkg to local-zone

2007-06-18 Thread Steve Zinck
On 6/18/07, Lou Cinci <[EMAIL PROTECTED]> wrote: A CU wants to use Screen tool within a local zone (Solaris 10 1/06). The screen (requires ncurses) tool was downloaded from SunFreeWare and installed in /usr/local/bin on the GZ. The pkgadd tool was used to install both screen and ncurses. Screen

Re: [zones-discuss] Adding pkg to local-zone

2007-06-18 Thread Lou Cinci
Steve, Thanks for the reply. No. The '-G' option was not specified when the package was installed. In fact, the zone was not created when pkgadd of the two pkgs. Do you think this could be the problem? I just checked the NGZ /usr/local/bin. Everything seems to be the same as the GZ except for th

[zones-discuss] Memory limits for zones?

2007-06-18 Thread James . Lam
Can someone tell me when memory limits will be supported in zones in Solaris 10? I'm looking for when the new zone resource management was or will be made available. Specify the memory limits for the zone my-zone. zonecfg:my-zone>* add capped-memory* zonecfg:my-zone:capped-memory>* set physical=

Re: [zones-discuss] Memory limits for zones?

2007-06-18 Thread Dan Price
On Mon 18 Jun 2007 at 01:56PM, [EMAIL PROTECTED] wrote: > Can someone tell me when memory limits will be supported in zones in > Solaris 10? > > I'm looking for when the new zone resource management was or will be > made available. > > Specify the memory limits for the zone my-zone. > > zonecfg:

[zones-discuss] lofi devices broken after patching

2007-06-18 Thread Ron Halstead
On Friday, June 15, 07, I patched the global zone on a machine with 2 local zones. The global zone has 4 file systems connected (but not mounted) from a 3320 storage array. Using lofiadm -a, i created 4 devices which I imported to the local zones - 2 to each zone. I then mounted the 4 file syste

[zones-discuss] Re: Re: zonepath

2007-06-18 Thread F.V.(Phil)Porcella
Hi Edna, Jeff, Jerry, Thank you for all the good input. I've decided to go ahead with a mounpoint at /zones Since this is a small test box (sbv120) and I have one slice to play with it seemd to be a good spot. Last question for you all, (maybe it should get its own thread), I would like to i

Re: [zones-discuss] lofi devices broken after patching

2007-06-18 Thread Dan Price
On Mon 18 Jun 2007 at 12:52PM, Ron Halstead wrote: > On Friday, June 15, 07, I patched the global zone on a machine with 2 > local zones. The global zone has 4 file systems connected (but not > mounted) from a 3320 storage array. Using lofiadm -a, i created 4 > devices which I imported to the local

Re: [zones-discuss] Re: Re: zonepath

2007-06-18 Thread Christine Tran
F.V.(Phil)Porcella wrote: Last question for you all, (maybe it should get its own thread), I would like to incorporate the /export/home directories from the global zone, into the non-global zone. What is the best way to do this? Seems like I have 3 choices: 1 add inherit-pkg-dir, set dir=/ex

Re: [zones-discuss] Re: Re: zonepath

2007-06-18 Thread Jeff Victor
F.V.(Phil)Porcella wrote: Last question for you all, (maybe it should get its own thread), I would like to incorporate the /export/home directories from the global zone, into the non-global zone. Why do you want to do that? Each zone has its own namespace. Unless you are using a network-base