Date: Thu, 22 Jun 2006 16:07:32 GMT From: JP Hartmann <jphartmann@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/99307: mount_nfs incompatible with zVM VMNFS 3A0 Message-ID: <200606221607.k5MG7WLK029412@www.freebsd.org> Resent-Message-ID: <200606221630.k5MGULNB078092@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99307 >Category: misc >Synopsis: mount_nfs incompatible with zVM VMNFS 3A0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 22 16:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: JP Hartmann >Release: 6.1 >Organization: IBM >Environment: FreeBSD FreeBSD.jphartmann.net 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Sat Jun 17 11:51:42 CEST 2006 root@FreeBSD.jphartmann.net:/usr/src/sys/i386/compile/KERNEL i386 >Description: The zVM NFS server returns RPCAUTH_NULL in the mount reply, at least when it is configured to support anonymous. This is turned into EAUTH in xdr_fh(). Which in turn causes the mount to fail with FreeBSD# mount_nfs -T -3 -R 1 cphart:sfs /sfs [tcp] cphart:sfs: Authentication error It would have been a great help if mount_nfs had issued a message indicating the server authorisation it did not like. The message indicates that the server rejected the mount, but to my surprise the server had as many mounts as I had tried. That said, configuring that particular level of NFS server is also quite challenging :-) >How-To-Repeat: You need a zVM system clearly, and they are not easy to come by. vm.marist.edu is one, but chances are slim that they are NFS exporting anything to the outside world. >Fix: --- mount_nfs.c.old Thu Jun 22 12:06:24 2006 +++ mount_nfs.c Thu Jun 22 14:13:26 2006 @@ -900,7 +900,7 @@ for (i = 0; i < authcnt; i++) { if (!xdr_long(xdrsp, &auth)) return (0); - if (auth == np->auth) + if (auth == np->auth || RPCAUTH_NULL == auth) authfnd++; } /* >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606221607.k5MG7WLK029412>