Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595790 - mail-filter/rspamd needs paxctl -cm when USE="jit"
Summary: mail-filter/rspamd needs paxctl -cm when USE="jit"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-01 15:06 UTC by Vladimir Datsevich
Modified: 2016-11-05 10:06 UTC (History)
1 user (show)

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


Attachments

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