Re: [Exim] retry db owned by root

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Nico Erfurth
CC: exim-users
Sujet: Re: [Exim] retry db owned by root
On Wed, 27 Nov 2002, Nico Erfurth wrote:

> Kirill told me that OBSD has the db-functions included in libc, so maybe
> they are not completly the same as the BDB-functions.


Aha. I'm about to try an experiment with the BDB functions, just in
case. (Nowadays I normally run with BDB 4.1)

> This is just a guess, but is it possible, that O_RDONLY | O_CREAT does
> not work? Like, if O_CREAT is set, O_WRONLY/O_RDWR must be set,
> otherwise it fails?


Yes, I suppose that's possible. I've just tried it with 1.85 on Solaris,
and it works fine, but it could be an OS thing, of course.

Kirill, can you try changing "flags|O_CREAT" to "O_RDWR|O_CREAT" in the
source file dbfn.c in the function dbfn_open? That seems a perfectly
reasonable thing to do.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.