sparc64/139304: acl_get_link_np() fails with "Invalid argument" on
ZFS
Dmitry Afanasiev
KOT at MATPOCKuH.Ru
Fri Oct 2 08:20:02 UTC 2009
>Number: 139304
>Category: sparc64
>Synopsis: acl_get_link_np() fails with "Invalid argument" on ZFS
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-sparc64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 02 08:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Afanasiev
>Release: FreeBSD 9.0-CURRENT sparc64
>Organization:
>Environment:
FreeBSD sunrise-new 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Sep 30 12:29:46 MSD 2009 root at sunrise-new:/usr/obj/usr/src/sys/sunrise sparc64
>Description:
acl_get_link_np(name, ACL_TYPE_NFS4) on any ZFS returns NULL with errno=EINVAL.
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
Also this breaks building of some ports like www/apache22:
configure.in:190: the top level
rebuilding rpm spec file
rebuilding srclib/apr-util/configure
Looking for apr source in /var/ports/usr/ports/www/apache22/work/httpd-2.2.13/srclib/apr
cp: failed to get acl entries while setting build/get-version.sh: Invalid argument
cp: failed to get acl entries while setting build/config.sub: Invalid argument
cp: failed to get acl entries while setting build/config.guess: Invalid argument
cp: failed to get acl entries while setting build/install.sh: Invalid argument
cp: failed to get acl entries while setting build/find_apr.m4: Invalid argument
cp: failed to get acl entries while setting build/apr_common.m4: Invalid argument
./buildconf failed for apr-util
*** Error code 1
>How-To-Repeat:
# zpool create tank `mdconfig -a -t swap -s 64m`
# ls -ld /tank
ls: /tank: Invalid argument
drwxr-xr-x 2 root wheel - 2 Oct 2 12:09 /tank/
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-sparc64
mailing list