Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles with amavisd and clamavd integration #2

Closed
pavelmc opened this issue Dec 1, 2017 · 1 comment
Closed

Troubles with amavisd and clamavd integration #2

pavelmc opened this issue Dec 1, 2017 · 1 comment
Assignees

Comments

@pavelmc
Copy link
Owner

pavelmc commented Dec 1, 2017

If you are seeing this in your logs you are affected by this bug:

Nov 29 19:50:21 mx1 amavis[10169]: (10169-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20171129T195021-10169-YPOyGWOi/parts: lstat() failed: Permission denied. ERROR\n"
Nov 29 19:50:21 mx1 amavis[10169]: (10169-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x4352a28) unexpected , output="/var/lib/amavis/tmp/amavis-20171129T195021-10169-YPOyGWOi/parts: lstat() failed: Permission denied. ERROR\n" at (eval 101) line 905.
Nov 29 19:50:21 mx1 amavis[10169]: (10169-01) (!)WARN: all primary virus scanners failed, considering backups

The so far this bug is confirmed and reported only in Ubuntu 16.04 LTS, the fix is easy. If you have installed this software before December 1st 2017, the patch is trivial, just run this on console as root:

chmod -R 775 /var/lib/amavis/tmp

That's all, restart your amavis/clamav daemons or the entire PC and you are done.

From that date the fix is covered on the install process.

Cheers

@pavelmc pavelmc self-assigned this Dec 1, 2017
pavelmc pushed a commit that referenced this issue Dec 1, 2017
@pavelmc
Copy link
Owner Author

pavelmc commented Dec 1, 2017

Closed as it was patched in commit 1c069fb

@pavelmc pavelmc closed this as completed Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant