Bug 1254198

Summary: openjdk 1.8.0 alternative is changed to 1.7.0 when a 1.8.0 update is applied.
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: java-1.8.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.8CC: cww, dbhole, dkochuka, freznice, jvanek, salmy, sbaiduzh
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1251560 Environment:
Last Closed: 2015-08-18 12:36:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1251560, 1336545    
Bug Blocks:    

Description Jan Kurik 2015-08-17 12:17:48 UTC
This bug has been copied from bug #1251560 and has been proposed
to be backported to 6.7 z-stream (EUS).

Comment 3 jiri vanek 2015-08-17 12:24:50 UTC
Hello, I strongly suggest to NOT backport this bugfix.

The fix delivered via 1254197 should be enough to fyx symptoms of this bug (the global fix ix much deeper and should go to rhel 7.3 )

Comment 4 Jan Kurik 2015-08-17 12:30:51 UTC
Chris, may I ask you please to evaluate the zstream request and close this bug if we do not want to have this delivered via zstream ?

Comment 5 Chris Williams 2015-08-17 14:32:44 UTC
Hello Jiri and Jan,

I tested the latest build from https://bugzilla.redhat.com/show_bug.cgi?id=1217177#c49 with positive results for BZs 1217177 and this BZ.

[root@rhel6 ~]# rpm -q java-1.8.0-openjdk
java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64


[root@rhel6 ~]# alternatives --display javajava - status is manual.
 link currently points to /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
/usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java - priority 1851

[root@rhel6 ~]# yum localinstall java-1.8.0-openjdk-1.8.0.51-2.b16.el6.x86_64.rpm java-1.8.0-openjdk-headless-1.8.0.51-2.b16.el6.x86_64.rpm
...

[root@rhel6 ~]# rpm -q java-1.8.0-openjdk
java-1.8.0-openjdk-1.8.0.51-2.b16.el6.x86_64


[root@rhel6 ~]# alternatives --display java
java - status is manual.
 link currently points to /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
/usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java - priority 1851


I think we can close this z stream clone as it appears the fix will already be included in https://bugzilla.redhat.com/show_bug.cgi?id=1254197

Comment 6 jiri vanek 2015-08-18 12:36:58 UTC
> I think we can close this z stream clone as it appears the fix will already
> be included in https://bugzilla.redhat.com/show_bug.cgi?id=1254197

Fix is not included. It is coincidence that it is no longer visible. (And will not reappear for rhel 6 and any openjdk in case of java/javac links)

But generally, the alternatives mechanism needs to be improved. Especially in rhel 7.