From owner-freebsd-bugs Tue Oct 5 15:20:20 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BA86215679 for ; Tue, 5 Oct 1999 15:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA88132; Tue, 5 Oct 1999 15:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 5F12E14F49; Tue, 5 Oct 1999 15:11:20 -0700 (PDT) Message-Id: <19991005221120.5F12E14F49@hub.freebsd.org> Date: Tue, 5 Oct 1999 15:11:20 -0700 (PDT) From: jk@cais.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: i386/14146: NFS mount bug which prevents mounting of similarly named filesystems Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14146 >Category: i386 >Synopsis: NFS mount bug which prevents mounting of similarly named filesystems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 5 15:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Jay Kuri >Release: FreeBSD 3.1 and later >Organization: CAIS Internet >Environment: FreeBSD lol.cais.net 3.1-RELEASE FreeBSD 3.1-RELEASE #9: Mon Sep 20 14:31:41 EDT 1999 jk@lol.cais.net:/usr/src/sys/compile/LOL i386 >Description: If you export two directories via NFS with similar names, IE: both the same except for one has some extra characters at the end: Example: /usr/nfs /usr/nfsshare Clients will not be permitted to mount /usr/nfsshare. If you place them both on the same line, or comment out the first, the second will be allowed. My guess is that this has something to do with the subdirectory-checking code. >How-To-Repeat: Create two directories anywhere, say: /usr/nfs and /usr/nfsshare and export them both. Then try to mount /usr/nfsshare on another client. It will fail. Comment out the /usr/nfs line and try again (after restarting mountd) and you will be able to mount it. >Fix: Workaround: If you need to mount them both to one set of clients, put them on the same line, otherwise, no solution. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message