Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 00:30:05 -0800 (PST)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/34666: Last entry in /etc/exports ignored
Message-ID:  <200202070830.g178U5s90546@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/34666; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/34666: Last entry in /etc/exports ignored
Date: Thu, 7 Feb 2002 10:22:56 +0200

 Adding the submitter's response to the PR audit trail..
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This sentence contradicts itself - or rather - well, no, actually it doesn't!
 
 ----- Forwarded message from Warren Smith <warren_a_smith@yahoo.com> -----
 
 From: Warren Smith <warren_a_smith@yahoo.com>
 To: Peter Pentchev <roam@ringlet.net>
 Subject: Re: misc/34666: Last entry in /etc/exports ignored
 Date: Wed, 6 Feb 2002 10:32:36 -0600
 In-Reply-To: <20020206175808.H5015@straylight.oblivion.bg>
 
 On Wednesday 06 February 2002 09:58 am, you wrote:
 > On Wed, Feb 06, 2002 at 07:29:28AM -0800, Warren Smith wrote:
 > > >Number:         34666
 > > >Category:       misc
 > > >Synopsis:       Last entry in /etc/exports ignored
 > > >Originator:     Warren Smith
 > > >Description:
 > >
 > > Valid entry in /etc/exports seems to be ignored if it is the last
 > > entry.  The exact same entry works as long as it is not the last
 > > entry.  Several different entries tried.  All worked at other
 > > positions.  None worked if last.
 > >
 > > >How-To-Repeat:
 > >
 > > Attempt to mount an exported filesystem that appears last in
 > > /etc/exports.
 >
 > As Maxim Konovalov already asked, can you show us your /etc/exports
 > file? You wouldn't happen to be trying to export several
 > directories from the same mounted filesystem on different lines,
 > would you?  If you are, then this is the problem - when exporting a
 > directory tree, mountd modifies the filesystem it resides on, and
 > for some reason or other it cannot do this twice.
 >
 > G'luck,
 > Peter
 
 Yes, I am trying to do that.  The first two lines work.  Further 
 experimentation reveals that the third and higher mount points for 
 /usr fail.  I had originally had only 3 mount points, hence the 
 reference to "last" in my original post.  I added the /usr/test entry 
 for testing.  
 
 Here is my /etc/exports. 
 
 /usr/src        -ro             yoda
 /usr/obj        -ro             yoda
 /usr/ports      -maproot=root   yoda
 /usr/test        -ro             yoda
 
 Perhaps I misunderstood exports(5)?
 
 <snip>
 Mount points for a filesystem may appear on multiple lines each with 
 different sets of hosts and export options.
 <snip>
 
 -- 
 Warren Smith
 
 
 ----- End forwarded message -----

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?200202070830.g178U5s90546>