Re: sun java plugin problem on Fedora 14

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

 



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@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.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux