Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223283

Summary: mod_clamav in net-ftp/proftpd-1.3.1 tries to lstat() a wrong path
Product: Gentoo Linux Reporter: Markus Malkusch <bugzilla>
Component: [OLD] ServerAssignee: Luca Longinotti (RETIRED) <chtekk>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: net-ftp
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-p-4518731.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Malkusch 2008-05-23 00:49:10 UTC
mod_clamav/0.7: Clamd Error: /media/daten/public-upload/Bewohner/Markus/tmp/viren//public-upload/Bewohner/Markus/tmp/viren/fakevirus.exe: lstat() failed. ERROR

The file lies under 
/media/daten/public-upload/Bewohner/Markus/tmp/viren/fakevirus.exe which would be chrooted to /public-upload/Bewohner/Markus/tmp/viren/fakevirus.exe

This happens in both versions 1.3.1_rc2-r3 and 1.3.1.

The URI explains and solves the problem with a patch. I don't know if proftpd-1.3.2rc1 (which is not in portage) solves the problem. I suggest to pull 1.3.2rc1 into portage if it solves the problem and patch those versions which already exist in portage.

Reproducible: Always

Steps to Reproduce:
See URI
Comment 1 Bernard Cafarelli gentoo-dev 2009-02-23 12:40:36 UTC
Please try with new clamav module available in proftpd-1.3.2 (warning: some configuration options have changed), and reopen if problem still occurs