Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 21:11:41 -0700 (PDT)
From:      Mike Heffner <mikeh@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/28469: mountd fails to export second mount point on same fs
Message-ID:  <200106280411.f5S4BfB33010@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106280411.f5S4BfB33010>