tech-pkg archive

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

Re: Sendmail, _res and the world



On Tue, May 28, 2019 at 03:06:30PM +0200, Hauke Fath wrote:
> I have ported the blacklistd(8) integration from FreeBSD's port to 
> mail/sendmail, just to run into the infamous
> 
> _res is not supported for multi-threaded programs.
[..]
> Since blacklistd(8) is in -base, the workaround from pkg/38533 can't be 
> copied. Is there any way out of this fix (and why exactly does it only 
> bite NetBSD)?

Check the sendmail sources - there likely are ifdefs already available
that use res_ninit() and some locking or a per-thread __res_state.

Martin


Home | Main Index | Thread Index | Old Index