[nfsv4] Re: Our different approaches to draft POSIX ACL support in NFSv4

David Noveck <davenoveck@gmail.com> Thu, 25 July 2024 19:36 UTC

Return-Path: <davenoveck@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F400C1516F8 for <nfsv4@ietfa.amsl.com>; Thu, 25 Jul 2024 12:36:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LVccno7YyBNQ for <nfsv4@ietfa.amsl.com>; Thu, 25 Jul 2024 12:36:43 -0700 (PDT)
Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3552FC1519B8 for <nfsv4@ietf.org>; Thu, 25 Jul 2024 12:36:43 -0700 (PDT)
Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-6b5dfcfb165so7865076d6.0 for <nfsv4@ietf.org>; Thu, 25 Jul 2024 12:36:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721936202; x=1722541002; darn=ietf.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yLy15z9wHY+OkNc0iD5361DrQCzeVYZvIlYmK6iDOZo=; b=lLyk8bETCxgy9gdZjI1pXS5ULZO9/90yaCpZvHgHdgsTQjEImaGCYTdQsxgBQEXx6i M2p78/ATBjSvmURA9DVxBL/iiRyadBP6kiRsFCA1oKNKDlcznqDDfmAIGfnHaWXk793Q PCQSakMDZ2XtFYQCe6I/k7WDnMaG6EPdJxPqQeKkzjTFuhKFAu+uSAIlQRPjEGa+ljoP MhKJdlZo/cW97UpvZpjr03AsGvblTPHxhJfIOIfZwkuOi+QLeUFtoEg6RSpncc4qvzfT HC0HU5UK9mfigMHK9G0vyrghShdIKUz3X29dDAFkTsfAzWf2cwrwUg4NrM4U4tZsKYH0 LN4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721936202; x=1722541002; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yLy15z9wHY+OkNc0iD5361DrQCzeVYZvIlYmK6iDOZo=; b=AwTlDvrhpVFYwv/cKyiyo4Nii97/wLjaMYhZ7F88ikFl4J8brG8+18L7zrJstzAawm ZMhMhlQwE9RwhIyYOPV3mv7PU9euJp3tuOYL4tlcHU/6WFWT7eeLe4APGNvK9gyZuHhU oxt3rid5lC05NQkQvVDJCJBYyOrLX32IPfurUxPvxP2O+fykg2VprEiQMFkBj9beieNB 7BFsrTrK1yZxlXuDT0Gmd28h8q9CCYRL72++hm1f2AuA6ys5Q3C80veDJY8wKnblIgYn PIUm4J/QPaZV/0RuPLghcztFzrRtPHyFdmb6fhov2Fd9COQWtAjPBvtxZRHEk5wAYzwC 1wiQ==
X-Forwarded-Encrypted: i=1; AJvYcCW0/1Mc6rpwimTEL5kUANhZoWV0L/UQfTjZicTwoqXnhYgrE5fLb5yHGnmNTS7UqmpLclIeQDCjvgOWgvQX/A==
X-Gm-Message-State: AOJu0Yzuv49/GOAcUp1hSG1s/iDjepoAyM7IP8JGig9pZtQEf7DVISAc gurRUl653HWVW/Aws58kw9Yt1Y0H6cwSOnYJl04Igg2lPnyw9bFC0QERvuuwp3rSerkgxt0gm3t MDIjMR/sm438eITECKMxBdhXAmaE=
X-Google-Smtp-Source: AGHT+IE+k01HppIcF+ICgUrzdmMSPrLY0clkXVcOPQJ6NESARTKNuYuu9t+VuGOY3kiVmmlqfKm3Stqni7gh00HxRFY=
X-Received: by 2002:ad4:5c6f:0:b0:6b7:b285:74eb with SMTP id 6a1803df08f44-6bb3ca04c75mr48478906d6.19.1721936202093; Thu, 25 Jul 2024 12:36:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a05:6214:2b0b:b0:6b5:7c7d:352c with HTTP; Thu, 25 Jul 2024 12:36:41 -0700 (PDT)
In-Reply-To: <7FAE51A2-6E14-412F-8B0A-AC617AE4173B@oracle.com>
References: <CADaq8jdvZ5pcFNN5zjuVHLTO30v9=2kYKzFdRxxbkTmHYZdTdA@mail.gmail.com> <CAM5tNy7Fw954gCzYHCTjRg7th_njSHhxznni48Zz4xsSXT631A@mail.gmail.com> <53DAEF45-2A4D-4066-97C2-7B09018DE99B@oracle.com> <CAM5tNy6a4ZG90i2ugXzuPqQ1zrsK9m8jLRKmv9VpnFG6m_Pqew@mail.gmail.com> <DD250FBD-A434-4294-818A-5728757CE032@oracle.com> <d1c538065728c17df66a6f9e79e55d90849fc866.camel@gmail.com> <D352FEB9-A487-4B3E-9BC8-DB2C1896F941@oracle.com> <8efc39289ecef97624622cfc431f890736b579a0.camel@hammerspace.com> <33FA1D6E-73B3-43A1-B65C-D806156E39A5@oracle.com> <cf8a48e517210512755455dd78352ae5b64f7949.camel@hammerspace.com> <449AF448-1471-47CD-B5C5-3A3A5FB9FB12@oracle.com> <2e32694382df3e70a93edcf40434a41729031e55.camel@hammerspace.com> <83c39a7b12c05b0f1a0fa6e069b08e399864277a.camel@hammerspace.com> <CADaq8jfw1FVH3dxOEJAZLrw_S5y2F6eaGkcfpha4X8BBNWgRSQ@mail.gmail.com> <6903782a95875541489844e33541114f0bf01acb.camel@hammerspace.com> <CADaq8jdFYo_DtRxS3h17dyQSFqXeoR60OjsjMM=o35HDg8ZnNg@mail.gmail.com> <855662e75c4433042fd9875c2c9c5d0244c929da.camel@hammerspace.com> <CADaq8jdZzqt-bXB4YsO=R2qpT9MNfwvSAJyBJng1qjGFTn2tbw@mail.gmail.com> <CAM5tNy5oVnyP66fzZsQXnNQcTYtpQaR59Q6io92F4LX74gPivQ@mail.gmail.com> <7FAE51A2-6E14-412F-8B0A-AC617AE4173B@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 25 Jul 2024 15:36:41 -0400
Message-ID: <CADaq8je9VqYoe8StfezCNjYPD3-dGmbz-zNSO51RBmfzCPcgeA@mail.gmail.com>
To: Chuck Lever III <chuck.lever@oracle.com>
Content-Type: multipart/alternative; boundary="000000000000a6dd7d061e178340"
Message-ID-Hash: FRH3CUB2I52GHHSBQUT3DWVKUPC6ECSH
X-Message-ID-Hash: FRH3CUB2I52GHHSBQUT3DWVKUPC6ECSH
X-MailFrom: davenoveck@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Trond Myklebust <trondmy@hammerspace.com>, Bruce Fields <bfields@fieldses.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [nfsv4] Re: Our different approaches to draft POSIX ACL support in NFSv4
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/5VHWvcYyjpUPQpiyEygwFZXb5r0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>

On Thursday, July 25, 2024, Chuck Lever III <chuck.lever@oracle.com> wrote:

>
>
> > On Jul 25, 2024, at 9:44 AM, Rick Macklem <rick.macklem@gmail.com>
> wrote:
> >
> > Christoph pointed out to me that having multiple ACLs on a file is not
> > reasonable.  The draft I am writing will require a server to only support
> > one ACL model/file. (I think it needs to be a server choice and could be
> > indicated to the client by which attributes are supported for the fiile.
> > (This is related to the last point.  I'll leave the rest for others.)
>
> I agree there should be one per file,


Definitely.

>
> and that the server's
> local file system should determine which type of ACL it can
> support.


I would think it determines the set of types  it  an support.  This can be
ofen will be a singleton or the null set.

(I don't envision a scenario where one file system
> could support multiple types of ACLs).


I consider it unfortunate that your vision is so limited.

I expect to face the issue in the near future since Netapp supports a
considerable portion of the NFSv4 ACL model and will want to support the
draft POSIX ACL.

I don't think it is reasonable to tell users that they have to get rid of
their existing ACLs in order to allow them to use draft POSIX ACLs.



>
> > It would be nice if, somehow, the Linux folk could determine how often
> > the mapped NFSv4 ACLs are used on the Linux NFSv4 servers?
>
> As far as I am aware, NFSD does not use mapped ACLs, but I
> haven't done an in-depth look.
>
>
> --
> Chuck Lever
>
>
>