acl_get_link_np() fails with "Invalid argument" on zfs on fbsd9/sparc64

From: KOT MATPOCKuH <matpockuh_at_gmail.com>
Date: Tue, 29 Sep 2009 16:21:59 +0400
Hello!

I got a problem with acl_get_link_np(name, ACL_TYPE_NFS4), it return
NULL with errno=EINVAL on any ZFS on fbsd9/sparc64.

As result I have errors in ls -l output like this:
# /bin/ls -ld /
ls: /: Invalid argument
drwxr-xr-x  19 root  wheel  - 25 Sep 29 14:59 /

Also cp -p return 1 and buildworld fails with following messages:
===> share/zoneinfo (all)
cp -p /usr/src/share/zoneinfo/yearistype.sh yearistype
cp: failed to get acl entries while setting yearistype: Invalid argument
*** Error code 1

What's wrong and how to solve it?

uname -a:
FreeBSD sunrise-new 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Sep 29
14:15:49 MSD 2009     root_at_sunrise-new:/usr/obj/usr/src/sys/sunrise
sparc64

-- 
MATPOCKuH
Received on Tue Sep 29 2009 - 10:53:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC