Return-Path: linux-nfs-owner@vger.kernel.org Received: from fieldses.org ([174.143.236.118]:50734 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934098Ab3BMPde (ORCPT ); Wed, 13 Feb 2013 10:33:34 -0500 Date: Wed, 13 Feb 2013 10:33:26 -0500 From: "J. Bruce Fields" To: Steve Dickson Cc: Trond Myklebust , "J. Bruce Fields" , "David P. Quigley" , Linux NFS list , Linux FS devel list , Linux Security List , SELinux List Subject: Re: [PATCH 00/15] lnfs: 3.8-rc6 release Message-ID: <20130213153326.GK14195@fieldses.org> References: <1360327163-20360-1-git-send-email-SteveD@redhat.com> <20130213001141.GA14195@fieldses.org> <20130213002117.GB14195@fieldses.org> <511ADE41.2040904@RedHat.com> <20130213150509.GH14195@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20130213150509.GH14195@fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Wed, Feb 13, 2013 at 10:05:09AM -0500, J. Bruce Fields wrote: > On Tue, Feb 12, 2013 at 07:28:49PM -0500, Steve Dickson wrote: > > > > > > On 12/02/13 19:21, J. Bruce Fields wrote: > > > On Tue, Feb 12, 2013 at 07:11:41PM -0500, J. Bruce Fields wrote: > > >> I get failures on NFSv4 mounts after applying these patches. > > >> > > >> # mount -tnfs4 pip1:/exports/ext4 /mnt/ > > >> mount.nfs4: mounting pip1:/exports/ext4 failed, reason given by server: No such file or directory > > >> > > >> In wireshark I don't see an error, but I do notice that the final > > >> rpc request and reply is a getattr with bitmap 0, which is odd. > > > > > > Oh, and that was a build with labeled nfs configured out. > > Drop the -tnfs4 option... > > Well, sure, then it'll negotiate down to v3 and the mount will succeed. > > But if you request v4 (either with -tnfs4 or -onfsvers=4), it fails. > > In other words, these patches break NFSv4 mounts in the default > (CONFIG_NFS_V4_SECURITY_LABEL=n) case. Also, the problem starts with "NFS: Client Implementation of Labeled-NFS". --b.