Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread Edward Pilatowicz
On Wed, Mar 10, 2010 at 03:13:48AM +, John Levon wrote:
 On Tue, Mar 09, 2010 at 04:36:41PM -0800, Edward Pilatowicz wrote:

   Please can I get people to take a look at:
  
   http://cr.opensolaris.org/~johnlev/onu-zones/
 
  i only have one comment.  is it really possible to have a zone running
  within an alternate BE?  i didn't think it was.

 Hmm. I haven't done the right thing here. What I was really trying to
 say was that the zone needs to be shutdown before we clone, but of
 course that happens before we iterate through the zones. I need a
 two-pass approach...


hm.  i actually think we'd be ok with just cloning running zones.  we
after all, we don't shut down the global zone to clone it.  i guess the
main thing that you're protecting yourself against by shutting down the
zone is against there being a pkg(1) process running within the zone at
the time you clone it.

ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] [on-ips-dev] reviews for 6933462 onu should support zones

2010-03-10 Thread John Levon
On Wed, Mar 10, 2010 at 12:21:28PM +0200, timeless wrote:

 On Wed, Mar 10, 2010 at 1:12 AM, John Levon john.le...@sun.com wrote:
  http://cr.opensolaris.org/~johnlev/onu-zones/
 
 +Do not update any zones in the system.
 
 This sounds weird to me, i wonder if you can drop 'in the system'.

I made this say Do not update any installed zones.

 +.I onu
 +.I  onu
 
 Is there a reason for the extra space in this second instance?

Nope, fixed.

john
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread John Levon
On Wed, Mar 10, 2010 at 07:40:36AM -0800, Edward Pilatowicz wrote:

http://cr.opensolaris.org/~johnlev/onu-zones/

Updated

 hm.  i actually think we'd be ok with just cloning running zones.  we
 after all, we don't shut down the global zone to clone it.  i guess the
 main thing that you're protecting yourself against by shutting down the
 zone is against there being a pkg(1) process running within the zone at
 the time you clone it.

Right. I'd kind of presumed that beadm had something similarly safe for
the GZ, but maybe it doesn't.

I don't mind removing the shutdown if people aren't wild about it.

regards
john
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread Edward Pilatowicz
On Wed, Mar 10, 2010 at 03:52:31PM +, John Levon wrote:
 On Wed, Mar 10, 2010 at 07:40:36AM -0800, Edward Pilatowicz wrote:

 http://cr.opensolaris.org/~johnlev/onu-zones/

 Updated

  hm.  i actually think we'd be ok with just cloning running zones.  we
  after all, we don't shut down the global zone to clone it.  i guess the
  main thing that you're protecting yourself against by shutting down the
  zone is against there being a pkg(1) process running within the zone at
  the time you clone it.

 Right. I'd kind of presumed that beadm had something similarly safe for
 the GZ, but maybe it doesn't.

 I don't mind removing the shutdown if people aren't wild about it.


personally, i'd leave it out.  onu is for developers.  if developers are
running pkg commands in an ngz while running onu at the same time in the
gz, well, don't do that.

ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread John Levon
On Wed, Mar 10, 2010 at 07:55:21AM -0800, Edward Pilatowicz wrote:

  http://cr.opensolaris.org/~johnlev/onu-zones/

OK please reload.

regards
john
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread Edward Pilatowicz
On Wed, Mar 10, 2010 at 06:10:43PM +, John Levon wrote:
 On Wed, Mar 10, 2010 at 07:55:21AM -0800, Edward Pilatowicz wrote:

   http://cr.opensolaris.org/~johnlev/onu-zones/

 OK please reload.


zoneadm list -cip will only list zones in the installed state, but
update_zone() also check for the configured state.  you probably want
list -cvp

ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread John Levon
On Wed, Mar 10, 2010 at 10:46:36AM -0800, Edward Pilatowicz wrote:

http://cr.opensolaris.org/~johnlev/onu-zones/
 
 zoneadm list -cip will only list zones in the installed state, but

That's not true:

r...@hiss:~# zoneadm list -cip
0:global:running:/::ipkg:shared
-:ozone:installed:/rpool/zones/ozone:84452639-6108-c6e3-b411-f53b9a16cc9f:ipkg:shared
-:twilight:configured:/rock/zones/twilight::ipkg:shared

I could make it be zoneadm list -cp if it's an issue for you...

regards
john
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] reviews for 6933462 onu should support zones

2010-03-10 Thread Edward Pilatowicz
On Wed, Mar 10, 2010 at 06:56:39PM +, John Levon wrote:
 On Wed, Mar 10, 2010 at 10:46:36AM -0800, Edward Pilatowicz wrote:

 http://cr.opensolaris.org/~johnlev/onu-zones/
 
  zoneadm list -cip will only list zones in the installed state, but

 That's not true:

 r...@hiss:~# zoneadm list -cip
 0:global:running:/::ipkg:shared
 -:ozone:installed:/rpool/zones/ozone:84452639-6108-c6e3-b411-f53b9a16cc9f:ipkg:shared
 -:twilight:configured:/rock/zones/twilight::ipkg:shared

 I could make it be zoneadm list -cp if it's an issue for you...


oops. my bad. re-reading of the man page has set me strait.
i'm fine with either cip or cp.
ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] BrandZ zones running Redhat Version

2010-03-10 Thread Edward Pilatowicz
On Wed, Mar 10, 2010 at 11:15:16AM -0800, Kevin Prendergast wrote:
 Hi all,

 I am looking at document for BrandZ zones needing to know if BrandZ zones 
 support Redhat Enterprise 4.0/5.0. So far I only see RedHat 3.X support, but 
 it is an old document.


there is no official support for RHEL  3.x.  there is an experimental
linux 2.6 support mode that you could try using to run RHEL  3.x.
ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] 6715679 - update on attach handling of /etc/release

2010-03-10 Thread Gael
On Thu, Jan 28, 2010 at 7:04 AM, Jerry Jelinek gerald.jeli...@sun.comwrote:


 6700799 update on attach misses SUNWsolnm pkg




Hello Jerry,

Do you know if the bug 6700799 (fix for the SUNWsolnm and zone attach -u
issue )  is going to be patched in the near future ?

Regards

-- 
Gael Martinez
___
zones-discuss mailing list
zones-discuss@opensolaris.org