lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D94CDBC.4010000@netapp.com>
Date:	Thu, 31 Mar 2011 14:53:48 -0400
From:	Bryan Schumaker <bjschuma@...app.com>
To:	Dmitry Torokhov <dtor@...are.com>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Trond Myklebust <Trond.Myklebust@...app.com>
Subject: Re: 2.6.39-rc1 regression: NFS - unable to mount some shares (bisected)

Hi

If you apply this patch, does it fix the problem?

Bryan

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index dfd1e6d..9bf41ea 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2204,8 +2204,6 @@ static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandl
 		goto out;
 	}
 	ret = nfs4_lookup_root(server, fhandle, info);
-	if (ret < 0)
-		ret = -EAGAIN;
 out:
 	return ret;
 }
@@ -2226,7 +2224,7 @@ static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle,
 
 	for (i = 0; i < len; i++) {
 		status = nfs4_lookup_root_sec(server, fhandle, info, flav_array[i]);
-		if (status == 0)
+		if (status != -EPERM)
 			break;
 	}
 	if (status == 0)





On 03/31/2011 01:19 PM, Dmitry Torokhov wrote:
> On Thursday, March 31, 2011 10:15:41 am Bryan Schumaker wrote:
>> Thanks for the log and extra info.  What setting does the server use to
>> export /toolchain?  You can usually find this in /etc/exports, but it
>> may be different for NIS.  I would like to set up my NFS server in a
>> similar way so I can try to reproduce what you're seeing.
>>
> 
> Bryan,
> 
> Unfortunately I do not have shell access to the NFS server. I can only 
> provide data that can be collected from the client.
> 
> [dtor@...r-ws linus]$ showmount --exports build-toolchain
> Export list for build-toolchain:
> /apps      *
> /trees     *
> /toolchain *
> 
> Thanks,
> Dmitry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ