Subject: kern/4315:
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yoav@mit.edu>
List: netbsd-bugs
Date: 10/21/1997 17:33:41
>Number:         4315
>Category:       kern
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 21 14:35:04 1997
>Last-Modified:
>Originator:     Yoav Yerushalmi
>Organization:
------------------------------------------------------------
| Yoav Yerushalmi         |  My opinions are mine..        |
| M.I.T student at large  |    (I hope..  don't sue)       |
| http://www.mit.edu/people/yoav/homepage.html             |
------------------------------------------------------------
>Release:        1.2
>Environment:
System: NetBSD eagle 1.2 NetBSD 1.2 (ATHENAOTHER) #13: Sun Nov 10 03:22:41 EST 1996 ghudson@the-light-fantastic:/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sys/arch/i386/compile/ATHENAOTHER i386


>Description:
	I mount an NFS filesystem, and then mount a umapfs system
on top of it to remap uids. Then, I try to rm a file through the
umap. The file does get rm'd, but NFS turd is left behind (.nfsXXXXXX).
This suggests the file is still open in something, but certainly not
in any program I'm running.  When the umap mount is removed, the
NFS turd disappears.

>How-To-Repeat:
	mount -t nfs <NFS mountpoint> /foo
	mount -t umap -u <uidfile> -g <gidfile> /foo /bar
	rm /bar/baz
	(ls -l .nfs*)
	umount /bar
	ls -l /foo/.nfs*
>Fix:

>Audit-Trail:
>Unformatted: