On Wed, Jan 03, 2007 at 08:53:55AM -0500, Ben Wilson said:
> I managed to figure this out!
> 
> Remember I have a nosuid, noexec /tmp partition to guard against 
> possible file-upload vulnerabilities.
> 
> I changed my ClamAV "TemporaryDirectory" to /var/clamav/tmp/ (which is 
> not nosuid/noexec), and this solved the problem.
> 
> FYI - my inodes were fine, and I watched the size of the /tmp dir when I 
> did my freshclam run, and it never went past 1% usage.  It's a 190 meg 
> partition.
> 
> Another bit of info: When I did my clamav 0.88.6->0.88.7 update, I also 
> updated my glibc and my kernel at the same time.  They are now 2.3.2 and 
> 2.4.20, respectively.

Maybe 2.4.20 responds differently, but I don't get ENOSPC on noexec or
nosuid partitions.  I get EACCES for noexec.  I haven't tested nosuid,
but since nothing clamav does should be suid (unless you've done
something really odd) that shouldn't be the issue.

Glad it's working for you, but I'm still not convinced.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Keep a diary and one day it'll keep     |
|  [EMAIL PROTECTED]             | you.   -- Mae West                      |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to