On 11/04/2010 06:39 AM, Andrew Haley wrote:
>> Hopefully this will save other people time: if you can't
get the Sun jre
>> java plugin to work after upgrading from F13 to F14, try:
>>
>> setsebool allow_execstack 1
Whoops, there should be a "-P" in there to make the change permanent.
what does ls --lcontext /blah/blah/java say?
It should be
-rwxr-xr-x. 1 system_u:object_r:java_exec_t:s0 root root 36548 Oct 13 13:53
/usr/lib/jvm/jre-1.6.0-openjdk/bin/java*
The "java_exec_t" is important. I think "execmem_exec_t" would also
work.
It is labelled correctly (java_exec_t), but I still needed "setsebool -P
allow_execstack 1".
[mjc@xena ~]$ ls -Z /opt/jre1.6.0_22/bin/java
-rwxr-xr-x. root root system_u:object_r:java_exec_t:s0
/opt/jre1.6.0_22/bin/java
- Mike