[Bug 265893] ZFS mount show nfsv4acls although pool/dataset is created with acltype=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Aug 2022 03:40:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265893

            Bug ID: 265893
           Summary: ZFS mount show nfsv4acls although pool/dataset is
                    created with acltype=off
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: clear.screen@orange.fr

When creating a pool and root dataset with following properties
acltype=off
xattr=sa
aclmode=discard (default)
aclinherit=restricted (default)

with following command
# cd /tmp
# truncate -s 1G 1.raw
# zpool create -O acltype=off -O xattr=sa test /tmp/1.raw

we have
# zfs get all | grep acl
  test    aclmode               discard                default
  test    aclinherit            restricted             default
  test    acltype               off                    local

but mount (with zfs automounter) reports
test on /test (zfs, local, nfsv4acls)

and in test doing following commands

# touch filetest
# getfacl filetest

gives 
# file: filetest
# owner: root
# group: wheel
getfacl: filetest: Invalid argument

1) confirm that the system is working correctly although the mount status seems
to be wrong
2) if so, correct mount acl status

-- 
You are receiving this mail because:
You are the assignee for the bug.