bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bug-mailutils] gdbm over NFS safety


From: Alain Magloire
Subject: RE: [bug-mailutils] gdbm over NFS safety
Date: Mon, 24 Oct 2005 10:34:05 -0400


> Subject: [bug-mailutils] gdbm over NFS safety
> 
> Hello.
> I can see that the vacation action in sieve uses gdbm files. In our
> setup we have NFS mounted mailboxes. Is it safe to use gdbm over NFS?
> 

GDBM is multiple readers and 1 writer.  So it uses a lock to restrict write
access on the database.  IIRC, POSIX fcntl(2) locking is NFS safe but not
BSD flock(2), so you will need to make sure that your version of GDB is
compiled with flock(2) enable and to disable flock(2).
#undef HAVE_FLOCK






reply via email to

[Prev in Thread] Current Thread [Next in Thread]