From owner-freebsd-bugs Wed Jun 27 21:20: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E05C737B403 for ; Wed, 27 Jun 2001 21:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5S4K0h33918; Wed, 27 Jun 2001 21:20:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 42BB937B407 for ; Wed, 27 Jun 2001 21:11:41 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5S4BfB33010; Wed, 27 Jun 2001 21:11:41 -0700 (PDT) (envelope-from nobody) Message-Id: <200106280411.f5S4BfB33010@freefall.freebsd.org> Date: Wed, 27 Jun 2001 21:11:41 -0700 (PDT) From: Mike Heffner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/28469: mountd fails to export second mount point on same fs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28469 >Category: bin >Synopsis: mountd fails to export second mount point on same fs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 27 21:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mike Heffner >Release: 4.3 >Organization: >Environment: 4.3-STABLE FreeBSD 4.3-STABLE #3: Wed Jun 27 23:42:15 EDT 2001 i386 >Description: Using the exports file in 'How-to-repeat' section, I'm unable to get both mount points exported. Only the first one listed will succeed, the second entry will fail with messages (switching the dir paths of course): Jun 27 23:58:53 enterprise mountd[208]: can't change attributes for /usr/ports Jun 27 23:58:53 enterprise mountd[208]: bad exports list line /usr/ports -maproot It doesn't make any difference which one comes first, it's always the second one listed that fails. If I comment one of them out, then everything works -- but I only have the one mountpoint exported ;( I believe these should both work, according to exports(5). >How-To-Repeat: Try to start, or reload, mountd with the following exports file: /usr/local/fbsd -maproot=spock -network 192.168.100 -mask 255.255.255.0 /usr/ports -maproot=root -network 192.168.100 -mask 255.255.255.0 Only the first mountpoint succeeds, the second one will always fail. >Fix: I don't know, haven't looked to deeply into it yet. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message