Public bug reported: Amavis incorrectly assumes that /usr/bin/nvcc is the "Norman virus control" executable, and attempts to use it to virus check incoming emails.
In systems with the NVIDIA CUDA compiler installed, the nvcc executable is actually the CUDA compiler, and so exits with a non-zero (exit) state every time amavis attempts to execute it on email traffic. This behavior results in all email traffic being marked (and quarantined) by amavis as containing a virus whenever NVIDIA CUDA is installed on the same system as amavisd-new. The increasing use of gpu acceleration for speeding up and multithreading particular server processing tasks means that in the future more servers may experience this problem as they have NVIDIA CUDA installed on them. I believe that amavis should verify that nvcc is the Norman virus control executable prior to attempting to use it as a virus check. A workaround for this bug on current ubuntu systems is to modify the default /etc/amavis/conf.d/15-av_scanners file and comment out the following three lines: ['Norman Virus Control v5 / Linux', 'nvcc', '-c -l:0 -s -u -temp:$TEMPBASE {}', [0,10,11], [1,2,14], qr/(?i).* virus in .* -> \'(.+)\'/m ], --------------- lsb_release -rd Description: Ubuntu 16.04 LTS Release: 16.04 --------------- apt-cache policy amavisd-new amavisd-new: Installed: 1:2.10.1-2ubuntu1 Candidate: 1:2.10.1-2ubuntu1 Version table: *** 1:2.10.1-2ubuntu1 500 500 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 500 http://au.archive.ubuntu.com/ubuntu xenial/main i386 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: amavisd-new 1:2.10.1-2ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Tue May 17 00:11:34 2016 PackageArchitecture: all SourcePackage: amavisd-new UpgradeStatus: Upgraded to xenial on 2016-04-27 (19 days ago) modified.conffile..etc.amavis.conf.d.05-node_id: [modified] modified.conffile..etc.amavis.conf.d.15-av_scanners: [modified] modified.conffile..etc.amavis.conf.d.15-content_filter_mode: [modified] modified.conffile..etc.amavis.conf.d.20-debian_defaults: [modified] modified.conffile..etc.amavis.conf.d.50-user: [modified] mtime.conffile..etc.amavis.conf.d.05-node_id: 2008-07-24T09:24:40 mtime.conffile..etc.amavis.conf.d.15-av_scanners: 2016-05-05T16:49:24.747435 mtime.conffile..etc.amavis.conf.d.15-content_filter_mode: 2008-07-24T09:26:06 mtime.conffile..etc.amavis.conf.d.20-debian_defaults: 2016-05-05T16:43:45.387437 mtime.conffile..etc.amavis.conf.d.50-user: 2008-07-24T09:25:35 ** Affects: amavisd-new (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial ** Attachment removed: "JournalErrors.txt" https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1582318/+attachment/4663930/+files/JournalErrors.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582318 Title: amavis virus check fails when nvidia CUDA is on the same system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1582318/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs