Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

sa-update bug: TMPDIR full?

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


michael.scheidell at secnap

Aug 26, 2011, 1:59 PM

Post #1 of 2 (135 views)
Permalink
sa-update bug: TMPDIR full?

found a bug in sa-update
<https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6655>

if TMPDIR is not writable, sa-update will continue to attempt to rotate
through mirrors, over and over and over.

if (!$UPDTmp) {
$UPDTmp = Mail::SpamAssassin::Util::secure_tmpdir();
dbg("generic: update tmp directory $UPDTmp");
}
elsif (!clean_update_dir($UPDTmp)) {
die "channel: attempt to clean update dir failed, aborting";
}

--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
>*| *SECNAP Network Security Corporation

* Best Mobile Solutions Product of 2011
* Best Intrusion Prevention Product
* Hot Company Finalist 2011
* Best Email Security Product
* Certified SNORT Integrator

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________


michael.scheidell at secnap

Aug 26, 2011, 2:26 PM

Post #2 of 2 (124 views)
Permalink
Re: sa-update bug: TMPDIR full? [In reply to]

On 8/26/11 4:59 PM, Michael Scheidell wrote:
> found a bug in sa-update
bigger bug.. bug is in ../Util.pm.
it will TRY to create a tmpfile on a nonexistant or read only dir,
and anything that trys to use that dir will fail and not know why.
patch to fix included.



--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
>*| *SECNAP Network Security Corporation

* Best Mobile Solutions Product of 2011
* Best Intrusion Prevention Product
* Hot Company Finalist 2011
* Best Email Security Product
* Certified SNORT Integrator

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.