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

Bug 200070

Summary: net-fs/samba no longer has oav USE flag (openantivirus support)
Product: Gentoo Linux Reporter: skolima
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description skolima 2007-11-23 11:30:58 UTC
Samba ebuild 3.0.24-r3 has support for USE="oav" (openantivirus), which builds vscan modules e.g. for clamav. The Gentoo installation instructions for samba also specify how to enable file scanning in samba using those features. But the flag, and the scanner modules, have been dropped from new samba ebuilds (3.0.25c-r2 and up).

So users upgrading (on stable profile - e.g. 3.0.27a) will loose the antivirus support.

Reproducible: Always

Steps to Reproduce:
Setup samba 3.0.24 as in http://www.gentoo.org/doc/en/quick-samba-howto.xml.
Virus scanning through clamd works.
Upgrade to latest stable (3.0.27a currently).

Actual Results:  
Virus scanning no longer works, shares are unaccessible. Log shows:

[2007/11/23 11:28:15, 0] smbd/vfs.c:vfs_init_custom(155)
  Can't find a vfs module [vscan-clamav]
[2007/11/23 11:28:15, 0] smbd/vfs.c:smbd_vfs_init(280)
  smbd_vfs_init: vfs_init_custom failed for vscan-clamav
[2007/11/23 11:28:15, 0] smbd/service.c:make_connection_snum(863)
  vfs_init failed for service IPC$


Expected Results:  
Samba correctly scans the shares using clamd.
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2007-11-23 12:03:12 UTC
Dropped functionality is not a security issue.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-23 12:08:56 UTC
And droppping broken functionality is not a bug, but a fix.


*** This bug has been marked as a duplicate of bug 199769 ***