I've just installed the latest postgres version in Debian, and always get this denial:
May 30 20:31:09 hoggar kernel: grsec: From 192.168.3.128: denied RWX mprotect of <stack> by /usr/lib/postgresql/9.3/bin/postgres
I tried setfattr -n user.pax.flags -v "mer" and paxctl -Cm to no avail. I thought this might explain it:
Changes for postgresql-9.3 (libpq5 libpq-dev postgresql-client-9.3 postgresql-9.3) ---
postgresql-9.3 (9.3.4-2) unstable; urgency=medium
* Skip -pie on 32bit archs for performance and stability reasons.
Closes: #749686; details at
http://www.postgresql.org/message-id/20 ... d.df7cb.de
That thread talks about a problem specifically for 32-bit.
I tried to revert to a previous version of the package but it still doesn't work, with the same error.
Any ideas?