[Mimedefang] reread mimedefang after sa-update
rlaager at wiktel.com
Thu Sep 15 01:48:01 EDT 2016
On 09/14/2016 11:48 PM, Richard Laager wrote:
> On 09/14/2016 11:12 AM, Marcus Schopen wrote:
>> Am Mittwoch, den 14.09.2016, 11:51 -0400 schrieb Dianne Skoll:
>>> On Wed, 14 Sep 2016 17:46:07 +0200
>>> Marcus Schopen <lists at localguru.de> wrote:
>>>> Sep 14 17:39:55 scansrv mimedefang-multiplexor: Cannot destroy
>>>> and recreate a Perl interpreter safely on this platform. Filter rules
>>>> will NOT be reread.
>>> Huh! That is very weird. I don't get anything like that on Debian Jessie.
>> Hmmm, I get this error on Ubuntu 12.04 LTS too, mimedefang 2.71, perl
>>> If you get that message, then you'll need to do restart instead of reread.
>> Okay, but this might harm a mail which is in process. Any ideas how to
>> fix above error?
> I'm digging into it right now. The problem seems to be that Perl outputs
> -lpthread as a required LDFLAG, but gcc needs -pthread (with no "l"), or
> else it fails linking to the symbol pthread_setspecific.
So configure.in has a check for this pthread flag, but does not use
$PTHREAD_FLAG as part of the $CFLAGS for the SAFE_EMBED_PERL test. Patch
attached, which results in SAFE_EMBED_PERL set and reread working for me
on Ubuntu 16.04.
The patch is for configure.in. You'll need to either regenerate
configure, or apply the same change to configure.
Thanks for catching this. I just upgraded my mail servers a couple days
ago and I hadn't actually tested the reread operation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 448 bytes
Desc: not available
More information about the MIMEDefang