Re: [I18ndir] NFS i18n

John C Klensin <john-ietf@jck.com> Fri, 22 May 2020 02:07 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: i18ndir@ietfa.amsl.com
Delivered-To: i18ndir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FD4C3A0DC4 for <i18ndir@ietfa.amsl.com>; Thu, 21 May 2020 19:07:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wn13E-uPP51g for <i18ndir@ietfa.amsl.com>; Thu, 21 May 2020 19:07:19 -0700 (PDT)
Received: from bsa2.jck.com (ns.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C7143A0DC3 for <i18ndir@ietf.org>; Thu, 21 May 2020 19:07:18 -0700 (PDT)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1jbx5g-000MPu-83; Thu, 21 May 2020 22:07:16 -0400
Date: Thu, 21 May 2020 22:07:10 -0400
From: John C Klensin <john-ietf@jck.com>
To: Marc Blanchet <marc.blanchet@viagenie.ca>, i18ndir@ietf.org
Message-ID: <1C1F405687C7DE5E47BD06CC@PSB>
In-Reply-To: <CCED5FB7-4D12-483C-BC4D-7F7393AB0D8B@viagenie.ca>
References: <4DC95412-CAE3-414C-8B28-42CB5E129224@episteme.net> <CCED5FB7-4D12-483C-BC4D-7F7393AB0D8B@viagenie.ca>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/2DApFMZr4o-MQF1-kqtsL8JzIZc>
Subject: Re: [I18ndir] NFS i18n
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Directorate <i18ndir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18ndir/>
List-Post: <mailto:i18ndir@ietf.org>
List-Help: <mailto:i18ndir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 May 2020 02:07:22 -0000

(written before John Levine's and Nico's comments)

--On Thursday, May 21, 2020 14:22 -0400 Marc Blanchet
<marc.blanchet@viagenie.ca> wrote:

> On 21 May 2020, at 13:57, Pete Resnick wrote:
> 
>> We've been asked to do an early review the NFS i18n document 
>> (draft-dnoveck-nfsv4-internationalization; about 23 pages).
>> Does  anybody want to be the official reviewer, or shall I
>> randomly pick the  next person on the list?
> 
> I'm no volunteering, but I would expect that they would have
> a Precis (RFC8264) profile or if not, why they are not using
> one. A quick browsing does not seem to tell that.

I have glanced at the document -- not read it, just done a bit
of spot-checking and, motivated by that checking, taken a glance
at 7530. 

Quick observations below. You are welcome to use this as a
mini-review at this point because I don't see how we can do a
meaningful review until these issues are resolved:

(1) RFC 7530 describes domain name-like operations in terms of
IDNA2008  rather badly botches its description of IDNA2008.
However, that is rather thoroughly botched, e.g., specifying
some actions that are not likely to work if the IDNA2008 specs
are being followed.  For example, conversion of NR-LDH labels
into U-labels is not meaningful.  Then it starts talking about
use of ToUnicode (an IDNA2003 operation) to make conversions to
"labels that generally conform to the U-label syntax"... but
U-labels are not just a matter of syntax.  That document's
getting through the IETF review process indicates to me that we
had some rather serious problems with i18n-related reviews back
then.  Time to get that fixed.  I note that Peter is
acknowledged as having provided I18n expertise; I'm having
trouble believing that, in part because the PRECIS work was well
underway by  the time and I cannot imagine his overlooking some
of those IDNA2008-related details.  Similar problems apparently
occurred even earlier when Stringprep (with the Nameprep
profile) was applied to apparently semi-arbitrary strings, not
just domain names).  All water over the dam unless we cannot
figure out how to learn from our mistakes.  And one of those
lessons, IMO, is that we should try to get things right this
time.

(2) Section 3 of the new document makes really interesting
reading, both generally and because one of its bullet points
says:

 o In its discussion of internationalized domain names,
	RFC7530 [3] adopted an approach compatible with
	IDNA2003, rather than attempting to derive the
	specification from the behavior of existing
	implementations.

But that is simply not true.  7530 references IDNA2008, uses
IDNA2008 terminology and rules and suggestions based on it.    I
haven't read it closely enough to understand whether it tries to
serve the same function as UTR#46 (which it does not mention
and, perhaps fortunately, this I-D does not mention it either).

(3) I agree with Mark.  If the I-D is going to say anything at
all i18n-ish about non-DNS identifiers (and it definitely does),
it should be referencing PRECIS, either to recommend it or to
advise why not.  Even if I agreed with Nico's suggestion (about
which I have mixed feelings; see below), this document would
need to normatively reference that one and that one would either
need to start from PRECIS or explain why not.

(4) --On Thursday, May 21, 2020 17:48 -0500 Nico Williams
<nico@cryptonector.com> wrote:

> Thus it is my opinion is that NFSv4 shouldn't have that much
> to say normatively about I18N for file names!  Instead we
> should have an RFC laying out requirements and recommendations
> for filesystems used via Internet remote/distributed
> filesystem protocols.

Sure.   And here is where I have some sympathy for the author of
this I-D and his many predecessors. Folks started trying to
reach agreement on the file system abstractions needed for such
requirements and recommendations in, IIR. mid or late 1970.
Failed then.  Have tried again multiple times over the last 49
or 50 years, which is one of the reasons NFS (the original ones
and its successors) is such a mess.   The things that have
succeeded, more or less, are FTP (but not the Unix-derived
command line version) that was intended to allow almost any file
system one could come up with and narrow the conversion
optionss/ requirements and things built on a principle that
might be described as "my file system is more important than
everyone else's and they can either adapt to my way of doing
things or lose.   The original version of NFS essentially
followed the latter model and things got into trouble when the
details of how file systems were organized, naming conventions,
etc., started to converge. And, even more in fairness to the
evolving collection of NFSv4 specs, the authors are trying to
reflect current practice and the current practice is not
consistent.  Of course, the i18n issues are only a small part of
that problem.

  best,
    john