Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496078 - clamd needs paxctl for working well
Summary: clamd needs paxctl for working well
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2013-12-26 15:15 UTC by synamics
Modified: 2019-03-26 20:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.