Re: [Exim] dbm updates

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jim Knoble
Data:  
Para: exim-users
Asunto: Re: [Exim] dbm updates
Circa 2001-Jun-15 14:13:28 +0100 dixit Phil Chambers:

: I am concerned about the procedure for updating the dbm files used
: by exim when they are the .pag/.dir type. Using exim_dbmbuild the
: new files are built and then renamed. Since the renaming is not an
: atomic action there will be a period where the .dir file is new and
: the .pag file is old. As far as I can see exim does not take any
: steps to prevent this. [...]
:
: I see that exim_dbmbuild makes no provision for restoring the old
: .dir file after it has been replaced if the rename of the .pag file
: files. It seems very very unlikely that this would happen but ...

These are two reasons not to use plain ndbm-style databases. I
recommend the use of CDB databases instead.

--
jim knoble | jmknoble@??? | http://www.jmknoble.cx/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)