Brian Feeny writes:


Ok, just to do it, I moved my rpm build directory off NFS, and it no longer fails those tests.
Do I have to do something special to courier to get it to make it thru test on NFS?

We have ran courier for years, at least since 1.7.3 on NFS, and never had any problems.

Redhat-8.0 on the courier box, Redhat ES 2.1 on the NFS server, both running fam/portmap.

Apparently, when you move a file to a different directory (like moving a new message from the tmp directory to the new directory) if the NFS client immediately opens and read the target directory it may not see the new file right away. Looks like there's some caching going on, and the NFS client reads the cached directory contents (when the directory on the actual server contains a new file that's obviously not in the NFS client's cached copy).

Try this:

rm -rf tmp new
mkdir tmp new
echo "Foo" >tmp/a
ls new; ln tmp/a new/a; ls new

This is not actually exactly what the part of the testsuite does, but it may be close enough to trigger the problem.

There might be some NFS tweaks to fix this.  I don't know.


Attachment: pgpEkSOnbTsvh.pgp
Description: PGP signature

Reply via email to