Subject: Re: kern/32286: exporting more than one directory to the world in one filesystems failed
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 12/12/2005 15:00:07
The following reply was made to PR kern/32286; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/32286: exporting more than one directory to the world in one filesystems failed
Date: Mon, 12 Dec 2005 09:57:39 -0500

 On Dec 12,  2:40pm, Wolfgang.Stukenbrock@nagler-company.com (Wolfgang Stukenbrock) wrote:
 -- Subject: kern/32286: exporting more than one directory to the world in one
 
 | >Number:         32286
 | >Category:       kern
 | >Synopsis:       exporting more than one directory to the world in one filesystems failed
 | >Confidential:   no
 | >Severity:       serious
 | >Priority:       medium
 | >Responsible:    kern-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Mon Dec 12 14:40:00 +0000 2005
 | >Originator:     Wolfgang Stukenbrock
 | >Release:        NetBSD 2.1
 | >Organization:
 | Dr. Nagler & Company GmbH
 | >Environment:
 | 	
 | 	
 | #
 | # export the sources of netbsd to the whole world - they are not secret
 | #
 | /export/NetBSD-2.1/src  -ro
 | /export/NetBSD-2.1/xsrc -ro
 | 
 | END OF EXPORTFILE
 | 	
 | 	Than try to export it. You will get the message:
 | Dec 12 15:22:09 s012 mountd[1955]: "/export/NetBSD-2.1/xsrc -ro", line 10: Can't change attributes for /export/NetBSD-2.1/xsrc to Default: Operation not permitted
 | 
 | 	If a third world export is added the problem appears at the two last entries of the export file. It will work only for the first.
 | >Fix:
 | 	Not known.
 | 	Either there is a problem inside the mount() call or there is a problem with the "default" network entry.
 | 	An export like "/export/NetBSD-2.1/xsrc -ro -network 0.0.0.0/0" will work and may be used as aworkaround for this problem.
 | 
 
 Use -alldirs:
 
 /export/NetBSD-2.1 -ro -alldirs
 
 christos