#332 Stale filehandle in AMaViS-ng causes NFS dot files.

open
None
5
2005-01-06
2003-12-23
William
No

The AMAVIS.pm package fails to close a file handle
opened by the get_directory function. The original file is
later unlinked causing a .nfs file to be created on NFS
mounted directories.

This causes AMAVIS.pm to attempt rmdir on a non-
empty directory in the clean up subroutine. The
following error message can be seen in the log files:
AMAVIS: Error removing /var/mail/virus/unpack/amavis-
unpack-3fe08a0a-0c88: Directory not empty

Cheers!

Discussion

  • Lars Hecking
    Lars Hecking
    2004-01-09

    • assigned_to: nobody --> bengen
     
  • Hilko Bengen
    Hilko Bengen
    2005-01-06

    • assigned_to: bengen --> braeucup