← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1628275] Re: ClamAV-clamd av-scanner FAILED: CODE(0x36ab6c8) unexpected , output="/var/lib/amavis/tmp/amavis-20160923T095247-01779-3L04SPou/parts: lstat() failed: Permission denied.

 

** Also affects: clamav (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1628275

Title:
  ClamAV-clamd av-scanner FAILED: CODE(0x36ab6c8) unexpected ,
  output="/var/lib/amavis/tmp/amavis-
  20160923T095247-01779-3L04SPou/parts: lstat() failed: Permission
  denied.

Status in ClamAV:
  Unknown
Status in clamav package in Ubuntu:
  Fix Released
Status in clamav source package in Xenial:
  New

Bug description:
  After installing amavisd-new and clamav-daemon clamav fails with the error:
  ClamAV-clamd av-scanner FAILED: CODE(0x36ab6c8) unexpected , output="/var/lib/amavis/tmp/amavis-20160923T095247-01779-3L04SPou/parts: lstat() failed: Permission denied. ERROR\n" at (eval 100) line 905.

  clamav user is in the amavis group and the permission on that dir are:

  drwxr-x--- 3 amavis amavis 4096 Sep 23 09:52 amavis-
  20160923T095247-01779-3L04SPou

  For a workaround I used the suggestion here:
  http://askubuntu.com/questions/604446/how-to-fix-amvavis-reporting-permission-denied-for-clamav

  Edited /etc/clamav/clamd.conf and changed
  AllowSupplementaryGroups false
  to true

  I believe this is one of the typical use case scenario for clamav-
  daemon so this option should be included by default.  To me this also
  seems to be the expected behavior by default (if the user the daemon
  is run as is in groups allowing access I'd assume it has that access).
  I don't understand why this is an option and not default behavior.

  I'm unsure of whether Debian plans to deprecate/remove the
  AllowSupplementaryGroups configuration option moving forward.  If
  done, it will break clamav-daemon - avamisd-new integration as is done
  currently.  I point this out to prevent future issues.

  Thanks for the great work, I hope this helps.

To manage notifications about this bug go to:
https://bugs.launchpad.net/clamav/+bug/1628275/+subscriptions