Bug 3832 - $TMPDIR causes spamd to hang
Summary: $TMPDIR causes spamd to hang
Status: RESOLVED INVALID
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 3.0.0
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 11:08 UTC by rdt
Modified: 2004-09-27 07:06 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description rdt 2004-09-27 11:08:55 UTC
On my Fedora 2 system, spamd starts normally but goes into an infinite loop when
spamc calls it.  When I did an strace on spamd, it turned out to be a problem
with permissions on files in /root/tmp, which is what root has as its TMPDIR. If
TMPDIR is unset, spamd/spamc work normally.
This problem is presumably related to the following change:

SpamAssassin now uses a temporary file in /tmp (or $TMPDIR, if that's
    set in the environment) for Pyzor and DCC checks.
Comment 1 rdt 2004-09-27 15:06:11 UTC
I've been advised that having  drwxrwxrwt permissions on $TMPDIR isn't enough;
the path to it must be world-executable.  So perhaps this should be added to the
documentation (if the temporary file can't be created before dropping root
privileges).