Re: Java and avc: granted { execmem }

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zac Tolley wrote:
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?

Have you applied updates to your system? Particularly for SELinux?

The changelog for selinux-policy includes this snippet:

* Mon Apr 03 2006 Dan Walsh <dwalsh@xxxxxxxxxx> 2.2.29-2
- Add mono dbus support
- Lots of file_context fixes for textrel_shlib_t in FC5
- Turn off execmem auditallow since they are filling log files

So I don't think you should be seeing these on an up to date system.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux