Java and avc: granted { execmem }

Zac Tolley ztolley at exsiteconsultants.com
Thu Apr 27 11:53:22 UTC 2006


I have build a new Fedora Core 5 box, and installed Suns Java,  
version 1.5, and use that to run OpenNMS and Tomcat.

I can't use the Java that came with Fedora, it just isn't supported  
by OpenNMS, and breaks when you try to use it.

The problem is I my messages file is full of lines like:

Apr 27 12:53:09 opennms kernel: audit(1146138789.013:13219208): avc:   
granted  { execmem } for  pid=30518 comm="java"  
scontext=root:system_r:unconfined_t:s0-s0:c0.c255  
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process

These are coming up Constantly.

I did try

chcon -t java_exec_t /usr/local/java/bin/java

But the messages keep coming, any ideas?




More information about the fedora-list mailing list