Bug 725718 - Can't switch links to the icedtea-web plugin
Summary: Can't switch links to the icedtea-web plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: icedtea-web
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Deepak Bhole
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 11:26 UTC by Radek Bíba
Modified: 2011-12-06 15:10 UTC (History)
3 users (show)

Fixed In Version: icedtea-web-1.1.2-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 15:10:25 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed patch (7.24 KB, patch)
2011-08-16 14:43 UTC, jiri vanek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1624 0 normal SHIPPED_LIVE icedtea-web enhancement update 2011-12-06 00:50:55 UTC
Red Hat Product Errata RHBA-2011:1744 0 normal SHIPPED_LIVE system-switch-java bug fix update 2011-12-06 01:01:50 UTC

Description Radek Bíba 2011-07-26 11:26:50 UTC
Description of problem:
The new icedtea-web package contains the plugin at /usr/lib/IcedTeaPlugin.so. The problem is that system-switch-java doesn't expect such a location and doesn't switch libjavaplugin.so(.x86_64) to it.

Version-Release number of selected component (if applicable):
system-switch-java-1.1.5-2.el6

How reproducible:
Always

Steps to Reproduce:
1. Install java-1.6.0-sun-plugin
2. Install icedtea-web
3. Run system-switch-java and switch the java toolset to OpenJDK 1.6.0
  
Actual results:
java, javac etc. are switched to OpenJDK, but the SUN plugin remains set

Expected results:
The browser plugin link is set to IcedTea, too.

Additional info:
It's a regression that isn't caused by s-s-java itself but by a change in icedtea-web. Please fix s-s-java or revert the plugin location change.

Comment 2 jiri vanek 2011-08-10 14:16:03 UTC
I think I can fix this issue in s-s-java, but before posting solution (which will be quite complex) I would like to ask why plugin was renamed and moved and weather it is not worthy to rename it back.

Comment 3 Deepak Bhole 2011-08-10 14:39:34 UTC
It was moved to install in an LSB compliant location.

Comment 5 jiri vanek 2011-08-16 14:43:08 UTC
Created attachment 518504 [details]
proposed patch

This is proposed patch.
It also fix 731039, Sorry for not delivering them separately, but they are quite bound together.

Comment 8 Deepak Bhole 2011-08-31 20:00:52 UTC
Re-opening and changing component. 

The fix to system-switch-java is incorrect. s-s-j has no knowledge of which JDK icedtea-web was built against and therefore it should not be deciding when the plug-in is to be selected.

The right fix is for icedtea-web to create a proper link in JRE_HOME so that the existing system-switch-java works.

Comment 12 errata-xmlrpc 2011-12-06 15:10:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1624.html


Note You need to log in before you can comment on or make changes to this bug.