On 5/27/2016 11:25 AM, Theo de Raadt wrote:
I just upgraded an amd64 host from one snapshot (~20 April) to the
latest (26 May).

Upon rebooting, a rapid succession of the following error messages start
to appear:

    /bsd: java(81240): mprotect W^X violation

This is even after updating to the latest snapshot build of the JDK port
(jdk-1.8.0.72v0).

The only Java app running on this host is an older version of
apache-solr, v 4.8.1, I believe. Would upgrading solr to a more recent
version clear this up?

We are working on some system features which will constrain W^X
executables to specific mountpoints, and specifically linked executables
(an ELF flag).

In the newest snapshots, you can put ",wxallowed" as a flag in your
/etc/fstab entry for /usr/local to get around this.


That worked a treat. Thanks!

Reply via email to