Hi,

--On 3. Juni 2005 21:36:44 Uhr +0100 Nick Leverton <[EMAIL PROTECTED]> wrote:

On Wed, Jun 01, 2005 at 09:26:03PM +0100, Martin Orr wrote:

Has anyone else had trouble with the glibc 2.2 version of SAVI?

Yes, as from 3.93 onwards, the SAVI libraries have been changed to be
more thread safe using the existing semaphores.  You can no longer start a
session as root and then run as another user, was I think the gist of it.

well, that's what I read as well, but unfortunately it doesn't seem to be the whole answer.

Sophie has had to make a change to allow for this.

This will also take effect in the glibc-2.0 version at some point.

How this affects the libSAVI implementation I don't know.  As you say I
thought Amavis already did the child initialisation as $user (AFAIK you've
never been able to share sessions between children anyway).  What does it
do after that ?

That depends on your setup. Up to now we've started amavisd as root, but had a different user and group set in /etc/amavisd.conf. That way it would drop privileges at a later point. Today I changed that on one of our servers so that it starts as the correct user right away. Alas, the problem remains:

Jun 6 13:10:30 lvr3.rrz.uni-koeln.de amavisd[29504]: (j56BAShY014927) Sophos SAVI: error scanning file /var/amavis/amav is-milter-j56BAShY014927/parts/part-00001, Sweep could not proceed, the file was corrupted (538)

Note that our software isn't really current:

amavisd-new-20030616-p9
Module SAVI                0.15

But it seems that the problem is the same with current versions? 3.94 glibc 2.0 does work for now, but of course I need a long-term solution.

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

Attachment: pgpHINolYRpTT.pgp
Description: PGP signature

Reply via email to