Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496078

Summary: clamd needs paxctl for working well
Product: Gentoo Linux Reporter: synamics
Component: HardenedAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: enhancement CC: antivirus, genzilla, hardened, net-mail+disabled
Priority: Normal    
Version: 10.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description synamics 2013-12-26 15:15:20 UTC
ClamD the daemon of ClamAV needs paxctl flagging for use JIT.
I suggest modify the ebuilds.
Add "paxctl -cm /usr/sbin/clamd" (No aspa) to pkg_postinst() in the present and future ebuilds.
Comment 1 Anthony Basile gentoo-dev 2014-10-17 17:44:34 UTC
This should go to the net-mail group.

I thought there was a pax-mark -m /usr/sbin/clamd` in there.  You can add it to src_install() after the default line.
Comment 2 Vladimir Datsevich 2016-10-01 15:04:45 UTC
Are there any news on this?

I had to manually paxctl -m some of the clamav binaries in order to get JIT on clamd working on PaX.

Is there a possibility to add this behavior explicitly as a use flag in order to let it work on PaX enabled systems?


Many thanks.