From owner-freebsd-current@FreeBSD.ORG Tue Sep 29 12:53:48 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DE1106566B for ; Tue, 29 Sep 2009 12:53:48 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1AD8FC1C for ; Tue, 29 Sep 2009 12:53:47 +0000 (UTC) Received: by fxm22 with SMTP id 22so861650fxm.36 for ; Tue, 29 Sep 2009 05:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=bZZdp5hmVSpRI4nWRBw01cc8K9Y0dLn8CqBTpkCCheU=; b=iwFQ1IndS6T8x3GbX+0tdH/9+LVoXJHKiE+lW/iQ9H3v0TXzsowWgQkT4q6tPSPpk5 PDmiunSW/vLSZcoUeOdRQUPbXNL9u29ydXU9gXxfHtUtKRZ9RqHukL98Wukl0e6tLNUQ UEUnj3DQKzarWaFcAKV6Xv3aFt/IRRIV25rDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Az0133VlQEYUlgyTemBBLG01pryZvV4QEDpTu9GGdzx+yHGVyEEY3MtrQDntAkMLGK Sdv/aGm9SWWIX9J7EU840TO52hLP1jHg8lKMR6B8qQZjqwd63slVtdCQkpsoX6QI+DKd 49vPreI2PVoARZ8KTF0LGJ6RECy6raN9pUsyk= MIME-Version: 1.0 Received: by 10.223.16.216 with SMTP id p24mr1230989faa.35.1254226919881; Tue, 29 Sep 2009 05:21:59 -0700 (PDT) Date: Tue, 29 Sep 2009 16:21:59 +0400 Message-ID: <3979a4b0909290521v4f70b607yc708ce140d5af322@mail.gmail.com> From: KOT MATPOCKuH To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: acl_get_link_np() fails with "Invalid argument" on zfs on fbsd9/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 12:53:48 -0000 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@sunrise-new:/usr/obj/usr/src/sys/sunrise sparc64 -- MATPOCKuH