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

Bug 595790

Summary: mail-filter/rspamd needs paxctl -cm when USE="jit"
Product: Gentoo Linux Reporter: Vladimir Datsevich <bgo>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal CC: hardened
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Datsevich 2016-10-01 15:06:25 UTC
When rspamd is compiled with the jit use-flag on a PaX enabled system,

paxctl -cm /usr/bin/rspamadm-*.*.*
paxctl -cm /usr/bin/rspamd-*.*.*

has to be run in order to let the JIT part of rspamd working again.

Can it be done automatically after the emerge by portage?
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-11-01 20:36:44 UTC
I'm happy to commit this, but since I don't have a good way to test this, can someone from the hardened tribe please contribute a patch? (If a dev, also just feel free to commit it for me.)
Comment 2 Magnus Granberg gentoo-dev 2016-11-03 20:14:05 UTC
use the pax-mark from pax-utils eclass
pax-mark m file
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-11-05 10:06:09 UTC
Fixed in 1.3.5-r2.