Subject: kern/4315:
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/21/1997 17:33:41
>Number:         4315
>Category:       kern
>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
>Originator:     Yoav Yerushalmi
| Yoav Yerushalmi         |  My opinions are mine..        |
| M.I.T student at large  |    (I hope..  don't sue)       |
|             |
>Release:        1.2
System: NetBSD eagle 1.2 NetBSD 1.2 (ATHENAOTHER) #13: Sun Nov 10 03:22:41 EST 1996 ghudson@the-light-fantastic:/afs/ i386

	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.

	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*