Re: ClamAV requiring COMPAT_FREEBSD11
- In reply to: Andrea Venturoli : "ClamAV requiring COMPAT_FREEBSD11"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Aug 2022 11:12:24 UTC
On Thu, 4 Aug 2022 12:49:11 +0200 Andrea Venturoli <ml@netfence.it> wrote: > Hello. > > I build clamav-0.105.1,1 (from quarterly branch) in Poudriere and > I've always used it without problems. > > Suddenly last night freshclam started dying on a few machines: it > turn out it prints "bad system call", due to the lack of > COMPAT_FREEBSD11 in the kernel. > Strangely it's been working with those kernels for years. > > In any case, I'm trying to find a way out of this: I really wouldn't > want to install a new kernel on a remote machine, considering the > customers might be on the verge of closing for holidays, so I might > not have the chance to go and fix it in case of troubles. > OTOH I can't leave ClamAV without DB updates for weeks, so I'm > investigating if an alternative exists. > > Why this requirement? > Is there a way to recompile ClamAV in order to let freshclam work > without this kernel support? > Hi, ClamAV (or part of it) apparently was rewritten into Rust. Here comes the requirement for COMPAT_FREEBSD11. Rust requires it, as for my observation. I'd like to live without this requirement, but that's not possible, for now. Regards, Milan