ClamAV-daemon crashes trying to read amavis-new files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ClamAV-daemon 0.99.2+
Crashes on attempting to read amavis-new files. Note that clamav is a member of group amavis, and has execute access to all directories in the file path through that group.
Log entries such as below appear on receipt of any email:
Sep 28 20:24:15 localhost amavis[7738]: (07738-03) (!)run_av (ClamAV-clamd) FAILED - unexpected , output=
Sep 28 20:24:15 localhost amavis[7738]: (07738-03) (!)ClamAV-clamd av-scanner FAILED: CODE(0x31b2928) unexpected , output=
20170928T125358
Sep 28 20:24:15 localhost amavis[7738]: (07738-03) (!)WARN: all primary virus scanners failed, considering backups
The clamav user can certainly access the directory in question (note the directory is, in fact, empty):
clamav@
total 8
drwxr-x--- 2 amavis amavis 4096 Sep 29 00:22 .
drwxr-x--- 3 amavis amavis 4096 Sep 28 12:53 ..
clamav@
Thanks for taking the time to file this bug!
This look like a duplicate of bug 1628275, which appears to still affect Xenial. I am going to mark this as a duplicate. If you disagree or have additional information, feel free to add it to this bug here.