sun java plugin problem on Fedora 14
Andrew Haley
aph at redhat.com
Thu Nov 4 18:47:03 UTC 2010
On 11/04/2010 12:33 PM, Dr. Michael J. Chudobiak wrote:
> 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 at 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
It's worth checking the Firefox context too.
Allowing execstack everywhere isn't such a great idea.
Andrew.
More information about the users
mailing list