Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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.