Re: [zones-discuss] Annoying zone boot failure

2012-11-19 Thread Edward Pilatowicz
this should never happen. please file a bug. are you seeing this on s11 or s10? could you also provide more deails about how you hit this problem and what you did to fix it? (if you could provide a way to reproduce this problem that'd be great.) ed On Tue, Nov 20, 2012 at 12:00:19PM +1300,

Re: [zones-discuss] Bridging at Zones.

2012-08-22 Thread Edward Pilatowicz
... If you or anybody else on the list have another idea of how to run trilld from inside a Container I would love to know. Thank you for your interest and time. Regards. Daniel. 2012/8/21 Edward Pilatowicz edward.pilatow...@oracle.com you can't create vnics from inside a zone. (it's

Re: [zones-discuss] Bridging at Zones.

2012-08-21 Thread Edward Pilatowicz
you can't create vnics from inside a zone. (it's not supported.) but the global zone can create additional vnics and give them to the zone. the easiest way to do this is to have the global zone administrator update the zonecfg for you zone to include multiple anet resources, one for each vnic

Re: [zones-discuss] how to unset a publisher in a zone?

2012-02-20 Thread Edward Pilatowicz
On Mon, Feb 20, 2012 at 02:56:23AM -0800, Ian Collins wrote: On 02/20/12 10:06 PM, gerard henry wrote: hello all, after upgrading from S11X to S11, i'm unable to attach a zone due to a missing publisher. I'm trying to remove the old publisher but i have this: root@electre:~# pkg -R

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-13 Thread Edward Pilatowicz
On Tue, Dec 13, 2011 at 09:44:23AM -0600, Derek McEachern wrote: Thought I would just send an update on this. Thanks for the all the suggestions. To get around our particular issue I just added some retry logic to the /etc/init.d/ script. When it runs it if finds that the operation has failed

Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-10 Thread Edward Pilatowicz
On Fri, Nov 11, 2011 at 08:41:44AM +1300, Ian Collins wrote: On 11/11/11 08:01 AM, Ian Collins wrote: On 11/11/11 02:39 AM, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: by default packages that get installed into a zone

Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?

2011-11-09 Thread Edward Pilatowicz
you should safely be able to delete that publisher from the zones. (in s11, zones inherit publishers from the global zone so they don't actually need any local publisher configuration.) ed On Thu, Nov 10, 2011 at 02:13:24PM +1300, Ian Collins wrote: I'm trying to reattach my zones on a newly

Re: [zones-discuss] Has the restriction on sharing from a zone been removed yet?

2011-09-29 Thread Edward Pilatowicz
On Thu, Sep 29, 2011 at 04:57:12PM +1300, Ian Collins wrote: On 09/29/11 09:50 AM, Edward Pilatowicz wrote: nfs server is now supported in a zone on s11. smb server is not. OK, thanks Ed. I thought the original ARC case for PRIV_SYS_SHARE would have enabled both? it's not just a matter

Re: [zones-discuss] Has the restriction on sharing from a zone been removed yet?

2011-09-28 Thread Edward Pilatowicz
nfs server is now supported in a zone on s11. smb server is not. ed On Tue, Sep 27, 2011 at 06:19:34PM +1300, Ian Collins wrote: Has the restriction on sharing ZFS filesystems vis nfs or smb from a zone been removed in the Solaris 11 branch yet? If not, will it be? Thanks. -- Ian.

Re: [zones-discuss] Add mountpoint to zone without a reboot

2010-08-25 Thread Edward Pilatowicz
On Wed, Aug 25, 2010 at 11:32:48AM -0700, Mike DeMarco wrote: Is it possible to add a new zfs filesystem to a zone without rebooting the zone? I have a need to add a filesystem to a zone for a couple of weeks but can not take an outage of the zone. you can add zfs filesystem by temporarily

Re: [zones-discuss] looking for install without repo options

2010-07-27 Thread Edward Pilatowicz
On Mon, Jul 26, 2010 at 10:54:24PM -0700, Sunay Tripathi wrote: Guys, I think we had discussed allowing a ipkg brand zone to be installed without a network i.e. going to a repo if I already have a installed offline zone install is not available today. there is a bug for this and we will have

Re: [zones-discuss] looking for install without repo options

2010-07-27 Thread Edward Pilatowicz
On Tue, Jul 27, 2010 at 02:17:45PM -0700, Sunay Tripathi wrote: On 07/27/10 01:06 PM, Edward Pilatowicz wrote: On Mon, Jul 26, 2010 at 10:54:24PM -0700, Sunay Tripathi wrote: Guys, I think we had discussed allowing a ipkg brand zone to be installed without a network i.e. going to a repo

[zones-discuss] how dynamic is your zones network configuration?

2010-06-04 Thread Edward Pilatowicz
hey all, i had a quick questions for all the zones users out there. after you've configured and installed a zone with ip-type=shared (the default), how often do you change the network interfaces assigned to that zone via zonecfg(1m)? frequently? infrequently? never? only when moving from

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Edward Pilatowicz
more information is needed about your architecture and what your trying to do. first off, as has been pointed out, if your not in user context getzoneid() isn't really that useful. second, below you keep mentioning at boot time. are you talking about system boot time? or zone boot time? at

[zones-discuss] linked image content policy proposal

2010-05-28 Thread Edward Pilatowicz
[ cross-posted to pkg-discuss and zones-discuss. sorry for any dups. ] hey all, one issue that linked images has to deal with is how specify the content relationship between images. i've written up the proposal below describing one way this could be done. any comments or feedback would be

Re: [zones-discuss] [pkg-discuss] linked image content policy proposal

2010-05-28 Thread Edward Pilatowicz
On Fri, May 28, 2010 at 05:04:07PM -0700, Danek Duvall wrote: core-os seems like it might end up being overly broad, given that, at least at the moment, it covers the entire WOS. actually, that is kinda the point (ie, covering the entire WOS). one of the features of sparse zones in s10 that

[zones-discuss] new zones community leaders

2010-05-27 Thread Edward Pilatowicz
hey all, i wanted to propose zone community leadership status for the following folks: Frank Batschulat Gary Pennington John Levon Susan Kamm-Worrell ed ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] How can I get a gnome desktop running in a zone?

2010-04-07 Thread Edward Pilatowicz
On Fri, Apr 02, 2010 at 04:24:58AM -0700, tomwaters wrote: Hi guys, I have set up a zone, (zone1), and when I log in all I get is the command prompt. How can I get a desktop inside this zone? Pls. provide simple steps or a link to a guide. I'd be happy to vnc in to it if required. I

Re: [zones-discuss] svcadm not executing methods

2010-03-23 Thread Edward Pilatowicz
On Tue, Mar 23, 2010 at 11:42:10AM -0700, Allan wrote: Hello, This time I decided to create a zone from scratch and see if the problem still persists. # zonecfg -z myzone info zonename: myzone zonepath: /zones/myzone brand: ipkg autoboot: false bootargs: pool: limitpriv:

Re: [zones-discuss] recovery from removal of entire

2010-03-23 Thread Edward Pilatowicz
On Tue, Mar 23, 2010 at 10:16:58AM -0400, John D Groenveld wrote: I have a build 129 installation with a few zones that will not attach because I removed entire from global. Yes, I know entire is required. I can upgrade to 134, but I'm not sure how that will work if my zones are detached.

Re: [zones-discuss] Upgrading Opensolaris system with zones

2010-03-23 Thread Edward Pilatowicz
On Tue, Mar 23, 2010 at 01:58:13PM -0400, Nandini Mocherla wrote: Can anyone point me to the documentation on upgrading Opensolaris system with non-global zones? I have a system running b130 (previously upgraded once) with 4 non-global zones, 3 zones running b129 and 1 zone running b130. I

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

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

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

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

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

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

2010-03-09 Thread Edward Pilatowicz
On Tue, Mar 09, 2010 at 11:12:21PM +, John Levon wrote: Please can I get people to take a look at: http://cr.opensolaris.org/~johnlev/onu-zones/ BTW Ed was asking why the full refresh was needed - anyone? that's not entirely true. ;) the full refresh is needed because we may not have

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

2010-03-09 Thread Edward Pilatowicz
On Tue, Mar 09, 2010 at 11:12:21PM +, John Levon 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. ed

Re: [zones-discuss] zone preconfiguration via sysidcfg fails on osol-b132

2010-02-18 Thread Edward Pilatowicz
On Thu, Feb 18, 2010 at 05:14:48PM -0800, Bruno Damour wrote: Hello I'm creating a zone and after install, copying a sysidcfg. On zone boot and zlogin -C I still run into the prompts. My sysidcfg is : keyboard=French system_locale=en_US.UTF-8 terminal=xterms network_interface=primary {

Re: [zones-discuss] upgrading and zones

2010-02-06 Thread Edward Pilatowicz
On Sat, Feb 06, 2010 at 10:30:18AM +0100, dick hoogendijk wrote: Going from OpenSolaris b131 to b132.. Am I correct in this procedure: [1] pkg image-update (with zones attached) [2] after reboot to the new BE detach the zones [3] zoneadm attach -u zones OR, do I have to detach -BEFORE- the

Re: [zones-discuss] GDM connect to GDM in a zone ?

2010-02-01 Thread Edward Pilatowicz
i've never tried this, but i'd recommend figuring out if gdm can be run as an xdmcp server. optionally, you could also run Xvnc within the zone. or you could ssh -X to the zone and remote display your apps. if you're tring to run gdm in the zone to access local hardware (graphics card,

Re: [zones-discuss] zones code review

2010-01-19 Thread Edward Pilatowicz
On Mon, Jan 18, 2010 at 12:51:27PM -0700, Jerry Jelinek wrote: Ed, Thanks for reviewing this, my responses are inline. On 01/15/10 19:26, Edward Pilatowicz wrote: On Thu, Jan 14, 2010 at 09:18:20AM -0700, Jerry Jelinek wrote: I need a code review for my proposed fix for: 6887823 brandz

Re: [zones-discuss] zones code review

2010-01-19 Thread Edward Pilatowicz
On Tue, Jan 19, 2010 at 02:33:15PM -0700, Jerry Jelinek wrote: On 01/19/10 14:00, Edward Pilatowicz wrote: perhaps it would make sense to add some tokens to the comments in brand_asm.h like: 32-BIT INTERPOSITION STACK 32-BIT LCALL/INT STACK 64-BIT INTERPOSITION STACK 64

Re: [zones-discuss] Problems when zone run

2009-12-21 Thread Edward Pilatowicz
this sounds like a bug that dan price tracked down to: 6906514 sdev_attrinit ignores va_mask, leading to whacky /dev/zcons vattrs it should be fixed in snv_130. ed On Mon, Dec 21, 2009 at 11:56:20AM -0800, Eugene Turkulevich wrote: I have two zones configured and run: ipkg zone (shared ip) and

Re: [zones-discuss] Webrev for CR 6782448

2009-12-21 Thread Edward Pilatowicz
lgtm. ed On Mon, Dec 21, 2009 at 05:41:29PM -0800, Jordan Vaughan wrote: That's a good idea. I updated the webrev. Thanks, Jordan On 12/21/09 05:08 PM, Steve Lawrence wrote: Minor nit. You could use != POC_STRING, put the Z_NO_ENTRY in the {}, and put the success case after. Not a

Re: [zones-discuss] Webrev for CR 6909222

2009-12-21 Thread Edward Pilatowicz
i'd probably leave out the XXX comment and instead update 6912451 to mention that part of the fix for 6912451 would involve removing the fix for 6909222 (since it would essentially be obsoleting this fix.) ed On Mon, Dec 21, 2009 at 03:46:00PM -0800, Jordan Vaughan wrote: I need someone to

Re: [zones-discuss] zones code review

2009-12-18 Thread Edward Pilatowicz
On Fri, Dec 18, 2009 at 08:19:02AM -0700, Jerry Jelinek wrote: Jerry Jelinek wrote: Because its not right above, all of the other register values are also pushed on the stack, so we need to go through the SSP to get to the right spot. I can add a comment explaining this but the 32bit and

Re: [zones-discuss] zones code review

2009-12-17 Thread Edward Pilatowicz
On Thu, Dec 17, 2009 at 09:39:34AM -0700, Jerry Jelinek wrote: Edward Pilatowicz wrote: - CALC_TABLE_ADDR() a little clunky. (it has seperate 32 and 64 versions, it assumes the syscall number is in eax/rax, and it has a side effect of munging the syscall number.) how about defining just

Re: [zones-discuss] code review for 6495558

2009-12-17 Thread Edward Pilatowicz
lgtm. ed On Thu, Dec 17, 2009 at 07:34:08PM +0100, Frank Batschulat (Home) wrote: Hey Ed, Steve, Jordan, Jerry, I got it in writing from Veritas Engineering that they do not have any heartburn over using fsck -o p on VxFS and inside the zone and also by testing in the lab I confirmed it

Re: [zones-discuss] code review for 6911329

2009-12-17 Thread Edward Pilatowicz
lgtm. ed On Thu, Dec 17, 2009 at 07:17:50PM +0100, Frank Batschulat (Home) wrote: May I have 2 code reviewers for: 6911329 Incorrect code in kstat_delete causes panic http://cr.opensolaris.org/~batschul/onnvkstat/ Description A colleague was looking into a crash and the reason turned

Re: [zones-discuss] zones code review

2009-12-17 Thread Edward Pilatowicz
On Thu, Dec 17, 2009 at 04:24:22PM -0700, Jerry Jelinek wrote: Edward Pilatowicz wrote: to be: ---8--- /* * The saved stack pointer (V_SSP) points to the interrupt specific * state, which is saved directly above the stack contents common to all * callbacks. ... */ #define V_U_SS

Re: [zones-discuss] zones code review

2009-12-16 Thread Edward Pilatowicz
On Wed, Dec 16, 2009 at 10:46:57AM -0700, Jerry Jelinek wrote: Ed, I've posted an updated webrev to address your comments. http://cr.opensolaris.org/~gjelinek/webrev.6768950/ usr/src/uts/intel/brand/sn1/sn1_brand_asm.s - i'd think the is 0 = syscall = MAX check would have to be done

Re: [zones-discuss] zones code review

2009-12-16 Thread Edward Pilatowicz
On Wed, Dec 16, 2009 at 02:37:36PM -0700, Jerry Jelinek wrote: Ed, Edward Pilatowicz wrote: On Wed, Dec 16, 2009 at 10:46:57AM -0700, Jerry Jelinek wrote: Ed, I've posted an updated webrev to address your comments. http://cr.opensolaris.org/~gjelinek/webrev.6768950/ usr/src/uts

Re: [zones-discuss] zones code review

2009-12-15 Thread Edward Pilatowicz
On Tue, Dec 15, 2009 at 01:28:01PM -0700, Jerry Jelinek wrote: Ed, Thanks for reviewing this. My responses to your comments are in-line. Edward Pilatowicz wrote: On Tue, Dec 15, 2009 at 08:39:12AM -0700, Jerry Jelinek wrote: I have an initial code review for the fix for bug: 6768950

Re: [zones-discuss] code review for 6495558

2009-12-14 Thread Edward Pilatowicz
so just one question. the '-p' preen option is only documented in the fsck_ufs(1m) man page, and not in fsck(1m). so i'm wondering is are there zones which may be installed on other filesystems which supply an fsck utility which may not support the preen option? (or perhas '-p is defined as

Re: [zones-discuss] Solaris10-Branded Zones Webrev: CR 6882732

2009-12-09 Thread Edward Pilatowicz
On Wed, Dec 09, 2009 at 02:54:05PM -0800, Jordan Vaughan wrote: I need someone to review my fix for 6882732 unpacking archive with extended file attributes reports errors The webrev is accessible via http://cr.opensolaris.org/~flippedb/onnv-s10c lgtm. ed

Re: [zones-discuss] solaris 10 branded zone

2009-12-08 Thread Edward Pilatowicz
On Tue, Dec 08, 2009 at 09:31:55AM -0800, xx wrote: i'm still not doing something right: init...@dogpatch:~# pkg install SUNWs10brand Creating Plan pkg: The following pattern(s) did not match any packages in the current catalog. Try relaxing the pattern, refreshing and/or examining the

Re: [zones-discuss] zones on shared storage proposal

2009-11-30 Thread Edward Pilatowicz
On Fri, Nov 27, 2009 at 09:12:33AM -0800, Frank Batschulat wrote: Hey Ed, I want to comment on the NFS aspects involed here, On Thu, May 21, 2009 at 3:55 AM, Edward Pilatowicz wrote: well, it all depends on what nfs shares are actually being exported. I definitively think we do want

Re: [zones-discuss] zones on shared storage proposal

2009-11-30 Thread Edward Pilatowicz
On Fri, Nov 27, 2009 at 02:47:37PM -0800, Frank Batschulat wrote: Hey Ed, addition to my previous posting as I just noticed something I've totally forgotten about afaik, determining the mount point should be pretty strait forward. i was planning to get a list of all the shares

Re: [zones-discuss] call to zoneadmd failed error

2009-11-23 Thread Edward Pilatowicz
On Sun, Nov 22, 2009 at 11:52:24PM -0800, Daniel Dinu wrote: Hello, Yes - /zone1 is a separate filesystem. r...@server.com#zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 12.7G 216G81K /rpool rpool/ROOT5.30G 216G19K

Re: [zones-discuss] quick bug fix webrev...

2009-11-20 Thread Edward Pilatowicz
On Thu, Nov 19, 2009 at 11:12:48PM -0800, Dan Price wrote: On Thu 19 Nov 2009 at 09:16PM, Edward Pilatowicz wrote: hey all, i need a review for the following bugfix: http://cr.opensolaris.org/~edp/onnv-zmount3/ 6901952 zoneadm fails with unable to determine default brand

Re: [zones-discuss] quick bug fix webrev...

2009-11-20 Thread Edward Pilatowicz
On Thu, Nov 19, 2009 at 09:16:45PM -0800, Edward Pilatowicz wrote: hey all, i need a review for the following bugfix: http://cr.opensolaris.org/~edp/onnv-zmount3/ 6901952 zoneadm fails with unable to determine default brand thanks for all the reviews. also, for the morbidly curious, i

Re: [zones-discuss] zone 'from scratch'

2009-11-20 Thread Edward Pilatowicz
On Fri, Nov 20, 2009 at 09:22:56AM -0800, nikolay wrote: I have a workstation with Solaris 10 pre-installed. Also I have CD's set with Solaris 9 distribution. How can I make a solaris 9 zone with 'naked' solaris 9 OS not having prepared OS image? you can't. you can only install an s9

Re: [zones-discuss] zone 'from scratch'

2009-11-20 Thread Edward Pilatowicz
On Fri, Nov 20, 2009 at 02:48:56PM -0500, David Pipes wrote: I've been told there is a demo environment in the Solaris 8 container download, I suspect it's time-limited or something. Maybe the Solaris 9 container it is not time limited. there is no drm or licensing enforcement

Re: [zones-discuss] call to zoneadmd failed error

2009-11-20 Thread Edward Pilatowicz
On Fri, Nov 20, 2009 at 06:26:06AM -0800, Daniel Dinu wrote: Hi guys, I'm new to opensolaris; I installed opensolaris a few days ago and tried to create a new zone, but installation failed. Here's what I've done: # uname -a SunOS server.com 5.11 snv_111b i86pc i386 i86pc Solaris #

[zones-discuss] quick bug fix webrev...

2009-11-19 Thread Edward Pilatowicz
hey all, i need a review for the following bugfix: http://cr.opensolaris.org/~edp/onnv-zmount3/ 6901952 zoneadm fails with unable to determine default brand thanks ed ___ zones-discuss mailing list zones-discuss@opensolaris.org

[zones-discuss] webrev for on-nightly zone install fix

2009-10-30 Thread Edward Pilatowicz
hey all, i've got a webrev that needs review: http://cr.opensolaris.org/~edp/pkg-on-nightly/ it's a fix for: 11392 'zoneadm .. install' only uses preferred publisher http://defect.opensolaris.org/bz/show_bug.cgi?id=11392 this fix let's me install zones on systems that

Re: [zones-discuss] updated webrev...

2009-10-28 Thread Edward Pilatowicz
On Wed, Oct 28, 2009 at 08:59:15AM +0100, casper@sun.com wrote: On Tue 27 Oct 2009 at 10:58AM, Edward Pilatowicz wrote: hey all, i have an updated webrev for my previous fix: http://cr.opensolaris.org/~edp/onnv-zmount/ 6889379 zoneadm mount fails on opensolaris 6894901 zoneadmd

[zones-discuss] updated webrev...

2009-10-27 Thread Edward Pilatowicz
hey all, i have an updated webrev for my previous fix: http://cr.opensolaris.org/~edp/onnv-zmount/ 6889379 zoneadm mount fails on opensolaris 6894901 zoneadmd can hang if fdetach() return EBUSY you'll notice i added 6894901 to the fix. i hit this issue while doing regression testing with the

Re: [zones-discuss] updated webrev...

2009-10-27 Thread Edward Pilatowicz
On Tue, Oct 27, 2009 at 05:07:08PM -0700, Dan Price wrote: On Tue 27 Oct 2009 at 10:58AM, Edward Pilatowicz wrote: hey all, i have an updated webrev for my previous fix: http://cr.opensolaris.org/~edp/onnv-zmount/ 6889379 zoneadm mount fails on opensolaris 6894901 zoneadmd can hang

Re: [zones-discuss] updated webrev...

2009-10-27 Thread Edward Pilatowicz
On Tue, Oct 27, 2009 at 07:27:10PM -0700, Dan Price wrote: On Tue 27 Oct 2009 at 07:03PM, Edward Pilatowicz wrote: the assumption is that we will never get stuck in this forever. if we do then this fix is broken and we need to redesign the exit mechanism. (i was debating just calling

Re: [zones-discuss] review needed for scratch zone mount fix

2009-10-19 Thread Edward Pilatowicz
/head/libzonecfg.h This isn't critical, but shouldn't zonecfg_default_brand() be declared somewhere other than the group of privilege-related functions? Perhaps it should go under higher-level routines. Other than that, this looks good to me. Thanks, Jordan On 10/16/09 05:12 PM, Edward

[zones-discuss] review needed for scratch zone mount fix

2009-10-16 Thread Edward Pilatowicz
hey all, so it seems that in opensolaris b120 i broke scratch zones with the following fix: 9392 native zones should fail to install on opensolaris so now i've got a fix for that breakage: http://cr.opensolaris.org/~edp/onnv-zmount/ 6889379 zoneadm mount fails on

Re: [zones-discuss] s10 brand Phase I webrev

2009-10-06 Thread Edward Pilatowicz
On Tue, Oct 06, 2009 at 09:47:40AM -0600, Jerry Jelinek wrote: Ed, Thanks for reviewing this again. I took most of your input. For the questions you had or the things I didn't take, I have responded below. Edward Pilatowicz wrote: - could you propegate back your common changes

Re: [zones-discuss] s10 brand Phase I webrev

2009-10-06 Thread Edward Pilatowicz
On Tue, Oct 06, 2009 at 12:15:23PM -0600, Jerry Jelinek wrote: Ed, Edward Pilatowicz wrote: On Tue, Oct 06, 2009 at 09:47:40AM -0600, Jerry Jelinek wrote: Ed, Thanks for reviewing this again. I took most of your input. For the questions you had or the things I didn't take, I have

Re: [zones-discuss] s10 brand Phase I webrev

2009-10-06 Thread Edward Pilatowicz
On Tue, Oct 06, 2009 at 12:18:21PM -0600, Jerry Jelinek wrote: Peter Memishian wrote: also, i would have though you'd commited to doing this work when you decided to fork the sn1 brand code instead of making it common. I was wondering about this too. Indeed, there seems be a sizeable

Re: [zones-discuss] s10 brand Phase I webrev

2009-10-01 Thread Edward Pilatowicz
i've finished looking through the rest of the files and my comments are attached. ed On Tue, Sep 29, 2009 at 05:09:26PM -0600, Jerry Jelinek wrote: Edward Pilatowicz wrote: - also, since the s10 brand is derived from the sn1 brand, could you please ensure that all the new s10 brand

Re: [zones-discuss] s10 brand Phase I webrev

2009-09-30 Thread Edward Pilatowicz
i'm not done yet, but i've attached what i've got so far. ed On Tue, Sep 29, 2009 at 05:09:26PM -0600, Jerry Jelinek wrote: Edward Pilatowicz wrote: - also, since the s10 brand is derived from the sn1 brand, could you please ensure that all the new s10 brand that are being created are derived

Re: [zones-discuss] s10 brand Phase I webrev

2009-09-28 Thread Edward Pilatowicz
On Mon, Sep 28, 2009 at 03:06:00PM -0600, Jerry Jelinek wrote: Edward Pilatowicz wrote: hey jerry, do you have an updated ws+webrev where the s10 files were created using hg cp? (i'm waiting for that before doing a review.) also, when were you planning to integrate? (so i can avoid a last

Re: [zones-discuss] zones on shared storage proposal

2009-09-21 Thread Edward Pilatowicz
On Mon, Sep 21, 2009 at 04:25:30PM +0100, John Levon wrote: On Wed, Sep 16, 2009 at 09:33:11PM -0700, Edward Pilatowicz wrote: there by implying that the vdisk path is a directory. ok. that's easy Right. enough to detect. It's probably safer to directly use vdiskadm to sniff

Re: [zones-discuss] s10 brand Phase I webrev

2009-09-16 Thread Edward Pilatowicz
two high level comments to start with. - since the s10 brand is derived from the sn1 brand, are there any framework changes which were made to the s10 brand that should be backported to the sn1 brand? - also, since the s10 brand is derived from the sn1 brand, could you please ensure that all the

Re: [zones-discuss] zones on shared storage proposal

2009-09-16 Thread Edward Pilatowicz
thanks for taking the time to look at this and sorry for the delay in replying. my comments are line below. ed On Sat, Sep 05, 2009 at 11:13:07PM +0100, John Levon wrote: On Thu, May 21, 2009 at 04:55:15PM +0800, Edward Pilatowicz wrote: File storage objects: path:///file-absolute

Re: [zones-discuss] zones on shared storage proposal

2009-09-16 Thread Edward Pilatowicz
hey illya, thanks for reviewing this and sorry for the delay in replying. my comments are inline below. i've also attached a document that contains some of the design doc sections i've revised based of your (and john's) feedback. since the document is large, i've only included sections that

[zones-discuss] folding brandz into zones on os.o

2009-09-14 Thread Edward Pilatowicz
hey all, just a quick heads up. it's been on my todo list for a very long time (and i figured that i really should get it done before the xwiki migration), so i finally merged all the brandz community content into the zones community. you can see all the moved content here:

Re: [zones-discuss] Zone installation hangs at Initializing zone product registry.

2009-09-14 Thread Edward Pilatowicz
On Mon, Sep 14, 2009 at 02:35:07AM -0700, RAjiv Patel wrote: I have created a zone , namely ems-ora-zoneB. Then to install the zone , I executed the following command. zoneadm -z ems-ora-zoneB install It has been more than 40 hours, but the prompt still shows Initializing zone product

Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06

2009-09-10 Thread Edward Pilatowicz
you need three commands: zonecfg(1m) zoneadm(1m) zlogin(1) to configuration a zone, see example 1 in zonecfg(1m). the only required parameter is zonepath, so in the simplist case (a zone with no networking) just set that. then use zoneadm(1m) to install and boot the

Re: [zones-discuss] zones on shared storage proposal

2009-09-04 Thread Edward Pilatowicz
hey illya, i posted the latest version to our aliases in may after i incorporated mike's feedback, but digging throught the archives i couldn't find any decent readable copy. hence i've gone ahead and posted the latest version to zones community site here:

Re: [zones-discuss] sysidcfg - root password

2009-08-26 Thread Edward Pilatowicz
are you running opensolaris? if so, i'm guessing that the problem is the format of the hashed password. by default, solaris version = 10 and nevada use crypt for hashing passwords, but opensolaris uses SHA256. these settings seem to be controlled via /etc/security/policy.conf. just search for

Re: [zones-discuss] zpools in zones

2009-07-15 Thread Edward Pilatowicz
On Wed, Jul 15, 2009 at 11:28:21AM -0700, Alastair Neil wrote: I am trying to set up two zones to exactly duplicate a production server one for test and one for development. The production server has a number of zpools which are specifically named and the scripts we are testing expect this

Re: [zones-discuss] Preconfiguring ipkg Brand Zones

2009-07-07 Thread Edward Pilatowicz
On Tue, Jul 07, 2009 at 10:41:36AM -0700, Brian Leonard wrote: I've been struggling to use the sysidcfg file to preconfigure my zones in 2009.06. I've read a couple of other posts where folks have also struggled (http://opensolaris.org/jive/thread.jspa?messageID=307290,

[zones-discuss] code review request: SUNWzoneint removal

2009-06-16 Thread Edward Pilatowicz
hey all, i need a code review for: http://cr.opensolaris.org/~edp/onnv-headers1/ 6851400 SUNWzoneint files should be moved to SUNWzoneu i'm eliminating the SUNWzoneint package because there really is no good reason not to ship these header files and lint libraries. they are already needed for

[zones-discuss] Fwd: Re: snv domU + zones ?

2009-06-15 Thread Edward Pilatowicz
message from David Edmondson d...@sun.com - Date: Mon, 15 Jun 2009 16:21:20 +0100 From: David Edmondson d...@sun.com To: Edward Pilatowicz edward.pilatow...@sun.com Cc: Fajar A. Nugraha fa...@fajar.net, xen-disc...@opensolaris.org Subject: Re: snv domU + zones ? * edward.pilatow...@sun.com

Re: [zones-discuss] s10 brand code review

2009-06-15 Thread Edward Pilatowicz
- you might want to add the crypto libraries to the list of libraries to watch for breakage. ;) - to improve the readability of crypto_ioctl(), could you make a dedicated function or macro that just does translation between the s10 and nevada versions of crypto_get_function_list_t? - when

Re: [zones-discuss] s10 brand code review

2009-06-15 Thread Edward Pilatowicz
On Mon, Jun 15, 2009 at 11:54:46AM -0600, Jerry Jelinek wrote: Ed, Thanks for reviewing this. Edward Pilatowicz wrote: - you might want to add the crypto libraries to the list of libraries to watch for breakage. ;) Yep. :-) I'm also going to try to see if any of the other default

[zones-discuss] 2 line code review...

2009-06-15 Thread Edward Pilatowicz
hey all, could i get a code review for this two line change: http://cr.opensolaris.org/~edp/onnv-bugs1/ 6850112 zonecfg verify should verify the native brand type thanks ed ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] 2 line code review...

2009-06-15 Thread Edward Pilatowicz
On Mon, Jun 15, 2009 at 03:46:29PM -0700, Dan Price wrote: On Mon 15 Jun 2009 at 03:42PM, Edward Pilatowicz wrote: hey all, could i get a code review for this two line change: http://cr.opensolaris.org/~edp/onnv-bugs1/ 6850112 zonecfg verify should verify the native brand type

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-14 Thread Edward Pilatowicz
On Sat, Jun 13, 2009 at 02:25:16PM -0700, Ian wrote: this error seems to indicate that the zone state in /etc/zones/index is invalid. (normally people shouldn't edit this file for exactly this reason. ;) what are the contents of this file? I've attached the full file to this

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zones fail to boot

2009-06-12 Thread Edward Pilatowicz
hm. detach is failing because attach never marked any zone dataset as active. could you file a bug against detach to make it more robust in the face of failiures? to work around this problem you might just want to edit /etc/zones/index and change the zone state to uninstalled. (this will

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-12 Thread Edward Pilatowicz
On Fri, Jun 12, 2009 at 01:50:16PM -0700, Ian wrote: once you've changed the state to uninstalled, you don't need to do a detach. just do: zoneadm -z lt;zonegt; attach -u -d lt;zbe_datasetgt; Unfortunately, it doesn't like that either: # zoneadm -z web attach -u -d

Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?

2009-06-05 Thread Edward Pilatowicz
On Fri, Jun 05, 2009 at 09:39:12AM +0200, Nicolas Dorfsman wrote: Le 5 juin 09 à 04:45, Edward Pilatowicz a écrit : The difference between Solaris 10 and OpenSolaris is that, on Solaris 10 by using the create would automatically inherit all the 4 directories mentioned above, and by using

Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06

2009-06-04 Thread Edward Pilatowicz
hey kevin, this is a known issue that is being fixed. (i thought the fix had already been pushed to the public repo, but i guess it hasn't happened yet.) there is a pretty straitforward workaround. do a pkg image-update, boot to the new image, and then your zone install should work. ed On

Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?

2009-06-04 Thread Edward Pilatowicz
On Thu, Jun 04, 2009 at 07:07:36PM -0700, Kevin Pan wrote: I don't understand your statement that OpenSolaris 2009.06 does not support sparse zone. I would appreciate if you could clarify what you meant by We don't have sparse zones in 2009.06... I thought by using the commands add

Re: [zones-discuss] zones on shared storage proposal

2009-05-22 Thread Edward Pilatowicz
include the revised proposal. thanks again, ed On Thu, May 21, 2009 at 11:59:22AM -0500, Mike Gerdts wrote: On Thu, May 21, 2009 at 3:55 AM, Edward Pilatowicz edward.pilatow...@sun.com wrote: hey all, i've created a proposal for my vision of how zones hosted on shared storage should work

Re: [zones-discuss] zones on shared storage proposal

2009-05-22 Thread Edward Pilatowicz
[ third reply, includes revised proposal + change bars from previous version ] hey mike, thanks for all the great feedback. my replies to your individual comments are inline below. i've updated my proposal to include your feedback, but i'm unable to attach it to this reply because of mail

Re: [zones-discuss] zones on shared storage proposal

2009-05-22 Thread Edward Pilatowicz
comments inline below. ed On Fri, May 22, 2009 at 11:26:06AM -0500, Mike Gerdts wrote: On Fri, May 22, 2009 at 1:57 AM, Edward Pilatowicz edward.pilatow...@sun.com wrote: i've attached an updated version of the proposal (v1.1) which addresses your feedback.  (i've also attached a second

Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?

2009-04-30 Thread Edward Pilatowicz
On Thu, Apr 30, 2009 at 09:33:57AM -0600, Jerry Jelinek wrote: solarg wrote: hello all, i'm wondering how to create a sparse zone in os2008.11: Sparse zones are not currently supported on opensolaris. This is tracked as: 2550 Support for sparse root zones - in solaris 10, just use create

Re: [zones-discuss] solaris10 brand project proposal

2009-04-23 Thread Edward Pilatowicz
+1 On Thu, Apr 23, 2009 at 10:02:40AM -0600, Jerry Jelinek wrote: I would like to propose a project to be sponsored by the zones community. This project would create a solaris10 branded zone for use on OpenSolaris. We will use the BrandZ infrastructure to deliver a solaris10 brand. This

Re: [zones-discuss] [brandz-discuss] Update Grants, Merge BrandZ and Zones Communities

2009-02-10 Thread Edward Pilatowicz
On Tue, Feb 10, 2009 at 03:01:25PM -0800, Dan Price wrote: ... hey dan, thanks for doing this. +1 on the merger of the two communities. i also accept my core contributor nomination. ed ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] Choice of fs type

2009-01-22 Thread Edward Pilatowicz
it depends on your requirements. since you haven't specified any, i'll just say that i prefer using zfs over ufs. hence i'd just recommend adding a zfs dataset via zonecfg. ed On Thu, Jan 22, 2009 at 10:44:09PM +1100, Anthony Yeung wrote: There are a number of ways to mount storage from the

Re: [zones-discuss] Solaris 8 Zones Cleanup

2009-01-21 Thread Edward Pilatowicz
well, certainly you could remove packages, but why bother. disk space is cheap. ed On Wed, Jan 21, 2009 at 07:20:31PM +0100, Bernd Schemmer wrote: Hi, we successfully installed some Solaris 8 zones and I'm wondering if I should delete some of the not necessary packages from the Solaris 8

  1   2   >