Dirtbag's Blog

getting qmail-scanner to emerge on gentoo

[ link: qmail_scanner_sandbox_error | tags: gentoo qmail | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

I was installing gentoo on a fresh dell server for my church and found that qmail-scanner 1.25-r1 would not emerge correctly. Read on for how to fix it.

so after trying to emerge mail-filter/qmail-scanner on an up to date gentoo box, I got the following error:


\>\>\> Source compiled.
\--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-mail-filter_-_qmail-scanner-1.25-r1-8381.log"
open_wr: /var/lib/clamav/.dbLock open_wr: /var/lib/clamav/main.inc/.dbLock \--------------------------------------------------------------------------------

I did some searching and found this bug and it appears that you can disable the sandbox options for the emerge to get it to work.

FEATURES="-sandbox -usersandbox" emerge -av qmail-scanner 

Happy viri-busting.

-db

Like this article? Buy me a beer!