Re: [exim] exim 4.70 on NetBSD 5.0.1 failure

Startseite
Nachricht löschen
Nachricht beantworten
Autor: J.R.
Datum:  
To: exim-users
Betreff: Re: [exim] exim 4.70 on NetBSD 5.0.1 failure
> Looks like a resolver library problem. Exim isn't multi-threaded,
> however. Who is generating that message? Dig up that code and check the
> prerequisites for it to appear.


Got some hints on the netbsd mailing list:
---
_res is a structure used by resolver(3) to resolve domain name queries. As
it is used as a global variable, access to it cannot be thread-safe (the
old API does not define a lock that permits the access of this struct in a
thread-safe manner).

Fix:
There should be some piece of code in exim 4.70 that uses _res directly.
It should be rewritten with the res_n*() (res_ninit, res_nsend, ...)
functions, which are thread-safe.

See also http://netbsd.gw.com/cgi-bin/man-cgi?res_nsend++NetBSD-current
---

It seems exim implemented the use of the resolver library the wrong way.

(I'm the only one who wants to use exim on netbsd in the whole world?)

thx!
JR