linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Phantom ACL-related xattrs on 3.14.4 NFS client
@ 2014-06-06 19:29 Philippe Troin
  2014-06-06 20:37 ` Trond Myklebust
  0 siblings, 1 reply; 11+ messages in thread
From: Philippe Troin @ 2014-06-06 19:29 UTC (permalink / raw)
  To: linux-nfs; +Cc: linux-kernel

This happens on an NFS client running on:
Linux ceramic32 3.14.4 #1 SMP Fri May 30 00:52:07 PDT 2014 i686 i686 i386 GNU/Linux
(also happens on x86_64).

The NFS server can be either 3.14 or 3.13, it doesn't change a thing.

Mount options are:
(from /proc/mtab)
ceramic:/export/home/phil /home/phil nfs rw,nosuid,nodev,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.17.1.2,mountvers=3,mountport=20048,mountproto=tcp,local_lock=none,addr=172.17.1.2 0 0
(This is NFSv3)

The symptom:

Run getfacl on any NFS inode.  See there are no ACLs:

        % getfacl .
        # file: .
        # owner: phil
        # group: phil
        user::rwx
        group::r-x
        other::r-x

Yet, getfattr says there are some acl-related xattrs:

        % getfattr -m '.*' .
        # file: .
        system.posix_acl_access
        system.posix_acl_default

But when you want to retrieve these phantom xattrs, I get errors:

        % getfattr -n system.posix_acl_access . 
        .: system.posix_acl_access: No such attribute
        [1]    1136 exit 1     getfattr -n system.posix_acl_access .
        % getfattr -n system.posix_acl_default .
        .: system.posix_acl_default: No such attribute
        [1]    1146 exit 1     getfattr -n system.posix_acl_default .
        
I've noticed because it breaks the patch utility.

This is a regression from 3.13, probably due to the 3.14 NFS ACL overhaul.

I'm ready & willing to try patches.

Phil.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-06-17 23:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 19:29 Phantom ACL-related xattrs on 3.14.4 NFS client Philippe Troin
2014-06-06 20:37 ` Trond Myklebust
2014-06-07 14:04   ` Christoph Hellwig
2014-06-08  2:48     ` Philippe Troin
2014-06-09 14:46       ` J. Bruce Fields
2014-06-09 15:58         ` Philippe Troin
2014-06-10 21:20       ` Philippe Troin
2014-06-11  7:24         ` Christoph Hellwig
2014-06-11 16:15           ` Philippe Troin
2014-06-11 16:22             ` Christoph Hellwig
2014-06-17 23:48               ` Philippe Troin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).