Date: Tue, 01 Jan 2002 15:12:05 +0000 From: Ian Dowse <iedowse@maths.tcd.ie> To: Sheldon Hearn <sheldonh@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfs nfs_common.c Message-ID: <200201011512.aa92900@salmon.maths.tcd.ie> In-Reply-To: Your message of "Mon, 31 Dec 2001 11:44:34 %2B0200." <33575.1009791874@axl.seasidesoftware.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <33575.1009791874@axl.seasidesoftware.co.za>, Sheldon Hearn writes: > >Sounds like this addresses PR kern/32668, although the PR reports a >problem in -STABLE, where the NFS code is very different. Hopefully, >not so different in this case? :-) No, this bug was specific to -current, as it was introduced with Peter's cleanup and splitting of the NFS code. The problem in kern/32668 is hard to fix in general because it is a side-effect of the "silly rename" mechanism used by NFS to retain unix semantics for open descriptors on deleted files. If there are any open file descriptors on files in an NFS directory, then "rm -rf" on that directory will fail. The PR relates to the specific example of using portupgrade when /var/db/pkg is NFS-mounted. It should be fairly easy to address this case by finding out what process is holding the file descriptor open, and changing something to ensure that the descriptor is closed before the rm occurs. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200201011512.aa92900>