From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 22 16:30:22 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ADD316A4C4 for ; Thu, 22 Jun 2006 16:30:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CBB843D55 for ; Thu, 22 Jun 2006 16:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5MGULbd078096 for ; Thu, 22 Jun 2006 16:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5MGULNB078092; Thu, 22 Jun 2006 16:30:21 GMT (envelope-from gnats) Resent-Date: Thu, 22 Jun 2006 16:30:21 GMT Resent-Message-Id: <200606221630.k5MGULNB078092@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, JP Hartmann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F16716A50E for ; Thu, 22 Jun 2006 16:28:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBA1544039 for ; Thu, 22 Jun 2006 16:07:32 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5MG7Wbm029413 for ; Thu, 22 Jun 2006 16:07:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5MG7WLK029412; Thu, 22 Jun 2006 16:07:32 GMT (envelope-from nobody) Message-Id: <200606221607.k5MG7WLK029412@www.freebsd.org> Date: Thu, 22 Jun 2006 16:07:32 GMT From: JP Hartmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/99307: mount_nfs incompatible with zVM VMNFS 3A0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:30:22 -0000 >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: