sellinux line command

Paul Howarth paul at city-fan.org
Wed Oct 4 17:37:56 UTC 2006


Fred J. wrote:
> 
> Paul Howarth <paul at city-fan.org> wrote: Fred J. wrote:
>> "Fred J." 
>  wrote: 
>> Paul Howarth 
>  wrote: Fred J. wrote:
>>> Paul Howarth 
>>  wrote: On Mon, 2006-10-02 at 00:13 -0700, Fred J. wrote:
>>>> Hi
>>>> while following the stops to install JRE as per
>> ...
>>
>> Paul.
>>
>> Paul
>> thanks  alot
>> after going through the link I now have it.
>> [fred at localhost i586]$ java -version
>> java version "1.5.0_09"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
>> Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
>> [fred at localhost i586]$ cd /usr/lib/mozilla/plugins/
>> [fred at localhost plugins]$ ls
>> [fred at localhost plugins]$ ls -a
>> .  ..
>> [fred at localhost plugins]$ sudo ln -s ../../../lib/jvm/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .
>> Password:
>> [fred at localhost plugins]$ ls -l
>> total 4
>> lrwxrwxrwx 1 root root 62 Oct  4 03:46 libjavaplugin_oji.so -> ../../../lib/jvm/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
>>
>> however when I restart firefox, and go to a suitable page, it still asks to install a plugin JRE.I found the problem
>> [fred at localhost plugins]$ sudo ln -s ../../../lib/jvm/java-1.
>> java-1.4.2-gcj-1.4.2.0/  java-1.5.0-sun-1.5.0.09/ 
>> it looks like I have to uninstall the jre 1.4.2 I embarked upon before.
> 
> ../../../lib/jvm/java should be a symlink to /etc/alternatives/java_sdk, 
> which should be a symlink to /usr/lib/jvm/java-1.5.0-sun (set up using 
> "alternatives"), which should be a symlink to java-1.5.0-sun-1.5.0.09.
> 
> By following all of these symlinks, libjavaplugin_oji.so should point to 
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.09/jre/plugin/i386/ns7/libjavaplugin_oji.so.
> 
> 
> I don't have "../../../lib/jvm/java"
> ]$ cd /usr/lib/mozilla/plugins/
> [fred at localhost plugins]$ ls -l ../../../lib/jvm
> jvm/         jvm-commmon/ jvm-exports/ jvm-private/ 
> [fred at localhost plugins]$ ls -l ../../../lib/jvm/java-1.
> java-1.4.2-gcj-1.4.2.0/  java-1.5.0-sun-1.5.0.09/ 
> 
> as well as "/etc/alternatives/java_sdk"
> [fred at localhost ~]$ ls -l /etc/alternatives/java
> java         java.1.gz    javaws       javaws.1.gz  
> 
> 
> am I still ok?

The key thing is that /usr/lib/mozilla/plugins/libjavaplugin_oji.so be a 
symlink that eventually ends up at the libjavaplugin_oji.so from the 
java-1.5.0-sun-plugin package. If that's the case, everything should work.

Paul.




More information about the fedora-selinux-list mailing list