Subject: bin/9301: mountd.c forgets exports when you mount a partition
To: None <gnats-bugs@gnats.netbsd.org>
From: None <windsor@warthog.com>
List: netbsd-bugs
Date: 01/26/2000 12:06:39
>Number:         9301
>Category:       bin
>Synopsis:       mountd.c forgets exports when you mount a partition
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 26 12:06:00 2000
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
Nose Pickers Anonymous
>Release:        1.4.2_ALPHA
>Environment:
i386, NetBSD-1.4.2_ALPHA
System: NetBSD kenku 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (KENKU) #7: Tue Jan 25 13:07:29 CST 2000 windsor@kenku:/usr/src/sys/arch/i386/compile/KENKU i386


>Description:
	: (r) statboy; umount /usr/src
	: (r) statboy; cat /etc/exports
	/usr/local -maproot=root -alldirs
	: (r) statboy; showmount -e localhost
	Exports list on localhost:
	/usr/local                         Everyone
	: (r) statboy; mount /usr/src
	Jan 26 13:16:00 statboy mountd[312]: "/usr/local -maproot", line 1: Can't change attributes for /usr/local to Default
	: (r) statboy; showmount -e localhost
	Exports list on localhost:
	: (r) statboy; 

	This is rather important that it gets fixed before 1.4.2 is frozen.

>How-To-Repeat:
	
>Fix:
	Back out 1.52->1.52.2.1 diff (1.57->1.58 in main trunk), or find
	problem and fix.
>Audit-Trail:
>Unformatted: