Subject: misc/8109: exports(5) doesn't reflect reality
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 07/28/1999 17:35:53
>Number:         8109
>Category:       misc
>Synopsis:       exports(5) is wrong about exporting multiple directories in filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 28 17:35:01 1999
>Last-Modified:
>Originator:     matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release:        1.4G
>Environment:
System: NetBSD chamomile.mit.edu 1.4G NetBSD 1.4G (STORROW) #5: Thu Jul 22 03:41:50 EDT 1999 deberg@chamomile.mit.edu:/src/netbsd/src/sys/arch/i386/compile/STORROW i386


>Description:

the BUGS section in exports(5) says "It is recommended that all
exported directories within the same server filesystem be specified
on adjacent lines going down the tree."

this is wrong - i tried to export 3 directories on the same filesystem
with the following /etc/exports:

/export/os-1.4
/export/install-1.4
/export/srvd-8.3

and get this error:

Jul 28 20:02:21 free-parking mountd[168]: "/export/install-1.4", line 2: Can't change /export/os-1.4 /export/install-1.4 /export/srvd-8.3

the errors vary with the order the lines are in, and whether they're
exported to different hosts, or the same lists of hosts specified in a
different order.

on the other hand, putting all three on the same line works fine.

>How-To-Repeat:

>Fix:
i don't know what the real semantics of nfs exports is, so none provided.
>Audit-Trail:
>Unformatted: