Re: Read-only ZFS pools [PSARC/2010/306 FastTrack timeout 08/06/2010]

2010-08-04 Thread Nicolas Williams
Can two hosts import the same pool read-only? What happens if one host imports a pool read-only, then later another imports it read-write? Don't do that? Nico -- ___ opensolaris-arc mailing list opensolaris-arc@opensolaris.org

Re: Add tunable to control RMW for Flash Devices [PSARC/2010/296 FastTrace timeout 08/02/2010]

2010-07-27 Thread Nicolas Williams
On Tue, Jul 27, 2010 at 12:47:31PM -0700, Garrett D'Amore wrote: I'm really confused here. Why run in an emulation mode at all? It seems like we can align and use 4K blocks directly, then we should *always* do so - at least for those devices which have a 4K physical block size. The emulated

Re: logadm.conf upgrade [PSARC/2010/290 FastTrack timeout 07/27/2010]

2010-07-26 Thread Nicolas Williams
On Mon, Jul 26, 2010 at 11:02:45AM +0100, John Levon wrote: On Sun, Jul 25, 2010 at 09:17:00PM -0700, Liane Praza wrote: To workaround this problem this project will create a new directory in /etc/logadm.d and an SMF service svc:/system/logadm-upgrade. A pkg

Re: logadm.conf upgrade [PSARC/2010/290 FastTrack timeout 07/27/2010]

2010-07-26 Thread Nicolas Williams
On Mon, Jul 26, 2010 at 06:20:35PM -0500, Nicolas Williams wrote: I've a prototype start method for a service that essentially generalizes what this project does. Packages would deliver SVR4-style post* and CAS scripts into .d-like directories. The start method of this service scans for new

Re: NFS Instances [PSARC/2010/280 FastTrack timeout 07/29/2010]

2010-07-22 Thread Nicolas Williams
On Thu, Jul 22, 2010 at 11:34:44AM -0500, Robert Gordon wrote: There isn't really any current behavior with respect to sharing in a zone :) I understand what you are saying and the zone boot restriction can be removed, it doesn't effect the proposed new interfaces. My concern is inadvertent

Re: NFS Instances [PSARC/2010/280 FastTrack timeout 07/29/2010]

2010-07-22 Thread Nicolas Williams
On Thu, Jul 22, 2010 at 09:57:22AM -0700, Darren J Moffat wrote: On 22/07/2010 17:52, Nicolas Williams wrote: On Thu, Jul 22, 2010 at 11:34:44AM -0500, Robert Gordon wrote: There isn't really any current behavior with respect to sharing in a zone :) I understand what you are saying

Re: NFS Instances [PSARC/2010/280 FastTrack timeout 07/29/2010]

2010-07-22 Thread Nicolas Williams
On Thu, Jul 22, 2010 at 06:04:31PM +0100, Andrew Gabriel wrote: Robert Gordon wrote: On Jul 22, 2010, at 10:57 AM, Andrew Gabriel wrote: Sorry, but why is this restriction necessary? The team thought that if an administrator created a zone to partition data with the intent to share data

Re: OFUV Userland Interface [PSARC/2010/239 FastTrack timeout 07/02/2010]

2010-06-30 Thread Nicolas Williams
On Wed, Jun 30, 2010 at 03:47:02PM -0700, Ted H. Kim wrote: I think this is where things are ending up. umad to use protection 666 and PRIV_SYS_NET_CONFIG ucma reserved ports uses PRIV_NET_PRIVADDR uverbs privileged Q_Keys uses PRIV_NET_PRIVADDR except for the ones which might be used to

Re: OFUV Userland Interface [PSARC/2010/239 FastTrack timeout 07/02/2010]

2010-06-30 Thread Nicolas Williams
On Wed, Jun 30, 2010 at 05:34:06PM -0700, Ted H. Kim wrote: Nicolas Williams wrote: then when the case for userland libraries/commands/utilities comes along, that case will describe the exec_attr/prof_attr changes too Are you adding new profiles or adding to existing profiles? (or both

Re: OFUV Userland Interface [PSARC/2010/239 FastTrack timeout 07/02/2010]

2010-06-29 Thread Nicolas Williams
On Tue, Jun 29, 2010 at 12:14:48PM -0700, Ted H. Kim wrote: For the umad devices it seems to me that what you want is either to use one of PRIV_SYS_DL_CONFIG (DL == datalink) or PRIV_SYS_NET_CONFIG (which aggregates several config privs). Alternatively you could add a new privilege called,

Re: System Configuration -- nodename and defaultdomain [PSARC/2010/223 FastTrack timeout 06/25/2010]

2010-06-23 Thread Nicolas Williams
On Wed, Jun 23, 2010 at 06:54:54PM +0100, Darren J Moffat wrote: On 23/06/2010 17:25, John Fischer wrote: I understand that this change will break some scripts that admins or developers have. However, as someone has already pointed out the decision to move this direction was made in the

Re: System Configuration -- nodename and defaultdomain [PSARC/2010/223 FastTrack timeout 06/25/2010]

2010-06-21 Thread Nicolas Williams
On Sat, Jun 19, 2010 at 04:25:09PM -0400, James Carlson wrote: On 6/19/10 6:52 AM, Volker A. Brandt wrote: 3. Obsolete file /etc/nodename. This file will no longer exist in the system This will break 1000s of LOC of scripts. I am sure you have considered the consequences your

Re: System Configuration -- nodename and defaultdomain [PSARC/2010/223 FastTrack timeout 06/25/2010]

2010-06-21 Thread Nicolas Williams
On Sat, Jun 19, 2010 at 05:12:03PM -0700, Richard Elling wrote: On Jun 18, 2010, at 2:34 PM, John Fischer wrote: 5. Add the defaultdomain property to the svc:/system/identity:domain SMF service. The property definition (config/defaultdomain) will be added in the SMF manifest.

Re: Lightning 1.0 [PSARC/2010/213 FastTrack timeout 06/16/2010]

2010-06-14 Thread Nicolas Williams
On Mon, Jun 14, 2010 at 12:37:50PM -0700, John Fischer wrote: Brian, Looks good -- +1 . I did not see the contracts in the sqlite cases. Are the contracts in process? SQLite3 is not contracted project private: it's mostly Uncommitted (see PSARC/2008/120 and subsequent cases). If it were

Re: EOF legacy processor type truth values [PSARC/2010/211 FastTrack timeout 06/15/2010]

2010-06-09 Thread Nicolas Williams
On Tue, Jun 08, 2010 at 01:15:18PM -0700, Garrett D'Amore wrote: d) every bit costs something. to compile, to link, to deliver. [...] There's also a run-time cost. Anyone who's browsed for executables to open media content with from Firefox will have observed that browsing /bin borders on the

Re: DTrace Kerberos Protocol Provider [PSARC/2010/194 FastTrack timeout 06/02/2010]

2010-05-26 Thread Nicolas Williams
On Wed, May 26, 2010 at 11:41:51AM -0700, Garrett D'Amore wrote: Also, your stability levels need to be modernized. We don't use Evolving and Unstable anymore.. Perhaps you mean Uncommitted and Volatile? DTrace sticks to the old taxonomy. ___

Re: PKCS#11 URI parser for libcryptoutil [PSARC/2010/188 FastTrack timeout 05/28/2010]

2010-05-25 Thread Nicolas Williams
On Fri, May 21, 2010 at 03:40:54AM -0700, Darren J Moffat wrote: /* That's what getpassphrase(3c) supports. */ #define PK11_MAX_TOKEN_PIN_LEN 256 ... int pkcs11_parse_uri(const char *str, pkcs11_uri_t *uri); Return codes are defined: ... #define PK11_MUTEX_ERROR6

Re: PKCS#11 URI parser for libcryptoutil [PSARC/2010/188 FastTrack timeout 05/28/2010]

2010-05-25 Thread Nicolas Williams
On Tue, May 25, 2010 at 05:00:50PM -0400, James Carlson wrote: Nicolas Williams wrote: Hmmm, I think it'd have been better to have the function return an error when a PIN is need and let the app call it again with the PIN -- let the app prompt for a PIN. There's no way to deal

Re: Username legnth [PSARC/2010/184 FastTrack timeout 2/27/2010]

2010-05-21 Thread Nicolas Williams
On Fri, May 21, 2010 at 10:05:50AM -0700, Bart Smaalders wrote: On 20/05/2010 18:50, Roland Mainz wrote: IMO this case should either allow the use of multibyte characters or expcitly refer to bytes/ASCII characters (see below). Since there is no way of storing encoding information along

Re: Username length [PSARC/2010/184 FastTrack timeout 5/27/2010]

2010-05-20 Thread Nicolas Williams
On Thu, May 20, 2010 at 01:42:30PM -0700, Alan Coopersmith wrote: Nicolas Williams wrote: In any case, customers that require strict SysV ABI compliance (e.g., customers that have apps that use LOGNAME_MAX and/or L_cuserid and who cannot or will not re-build those apps) can always stick

Re: PSARC 2010/151 new socket options for TCP timers

2010-05-10 Thread Nicolas Williams
On Thu, May 06, 2010 at 04:36:16PM +0800, Kacheong Poon wrote: On 05/ 6/10 05:27 AM, Nicolas Williams wrote: Sounds like we might want an equivalent to tcp_max_orphans... Also, allowing the FIN-WAIT-2 timer to get set to ridiculously large numbers of seconds strikes me as a bad idea, at least

Re: PSARC 2010/151 new socket options for TCP timers

2010-05-05 Thread Nicolas Williams
What happens when a socket in FIN_WAIT2 is close()d, or a process exits and a socket is closed and ends up in FIN_WAIT2? If the FIN_WAIT2 timer is set to 2^31, what happens? Suppose the process is able to exit but the socket lingers. In that case will the lingering socket defeat resource

Re: updated spec for DTrace TCP and UDP providers [PSARC/2010/106]

2010-05-04 Thread Nicolas Williams
On Sun, May 02, 2010 at 10:32:27AM +0100, Alan Maguire wrote: tcp:::send TCP transmits a segment. tcp:::receive TCP receives a segment. I don't see probes for sending/receiving ACKs; I assume these two fire even for packets that have no data. I also don't see a probe for a

Re: updated spec for DTrace TCP and UDP providers [PSARC/2010/106]

2010-05-04 Thread Nicolas Williams
It's probably too late for this case, but if so, then something to keep in mind for a future case: IPsec latching (see ipsec_latch_t, in $SRC/uts/common/inet/ip.h). This could either be subsumed into ipinfo_t or, better, added as one more probe argument, both on receive and on send probes. IPsec

Re: updated spec for DTrace TCP and UDP providers [PSARC/2010/106]

2010-05-04 Thread Nicolas Williams
On Tue, May 04, 2010 at 07:16:22PM +0100, Alan Maguire wrote: On 04/05/2010 18:36, Nicolas Williams wrote: On Sun, May 02, 2010 at 10:32:27AM +0100, Alan Maguire wrote: tcp:::send TCP transmits a segment. tcp:::receive TCP receives a segment. I don't see probes for sending

Re: PSARC/2010/140 - removing conflict

2010-04-21 Thread Nicolas Williams
On Wed, Apr 21, 2010 at 09:12:03AM -0700, John Fischer wrote: 2.Technical Issues 2.1.Availability through OpenSolaris /contrib repository The OpenSolaris /contrib repository [1] is a more appropriate mechanism for delivering Conflict to interested consumers.

Re: ipadm hostmodel property [PSARC/2010/127 FastTrack timeout 04/19/2010]

2010-04-16 Thread Nicolas Williams
On Fri, Apr 16, 2010 at 12:08:28PM -0400, James Carlson wrote: On 04/16/10 11:35, sowmini.varad...@oracle.com wrote: should deal with forwarded packets. Since the hostmodel feature (and esp the strong version and its variants) by its very name is not intended for use for routing/forwarding,

Re: Temporary ZFS mounts [PSARC/2010/126 FastTrack timeout 04/19/2010]

2010-04-12 Thread Nicolas Williams
On Mon, Apr 12, 2010 at 03:46:14PM -0700, Bart Smaalders wrote: Personally, I'm of the opinion that / should be a single dataset. I'd be happier with that as the rule than no rule at all. But I'd like to be able to set noatime for all static content, but not necessarily other content.

Re: DTrace TCP and UDP providers [PSARC/2010/106 Self Review]

2010-04-02 Thread Nicolas Williams
On Fri, Apr 02, 2010 at 11:53:33AM +0100, Alan Maguire wrote: [...]. I think adding the following set of probes to the original proposal should hopefully address shortcomings in this area in a manner consistent with the connect-* and accept-* probes: tcp:::close-request

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Nicolas Williams
On Tue, Mar 30, 2010 at 12:42:00PM -0600, Tim Haley wrote: On 03/30/10 12:29 PM, Dan Price wrote: The example was slightly messed up, sorry; that caused misunderstanding. I'm worried about this situation: snaps...@1 mv /myfiles/name1 /myfiles/name2 mkdir

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Nicolas Williams
On Tue, Mar 30, 2010 at 02:04:39PM -0600, Tim Haley wrote: It would be easy enough for me to print a 'time' column as the first column, and the output could then be sent to 'sort -n'. I'm not sure how people feel about that. Is that cheating? :-) The alternative is to AVL sort by that