Subject: Re: a workaround for mountd.
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-userlevel
Date: 02/02/2000 22:49:32
On Tue, Feb 01, 2000 at 07:55:23PM +0900, enami tsugutomo wrote:
> The -current mountd has a bug or at least doesn't acts as before.  If
> a file system is exported to everyone, the mountd fails to export
> again (on SIGHUP).  Or, user modifed some export option of currently
> exported file system, it failes to export on SIGHUP.
> 
> One workaround is unexport and retry when failed to export first time.
> This is workaround since it introduces race condition, but is better
> than failed to export.
> 
> Any throughts?

The rigth thing to do would certainly to teach the nfs server to block
incoming requests while the export list is being updated.
I don't think you fix will break more things than are currently, however.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--