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 1189530 - java-1.8.0-openjdk provides is missing java
Summary: java-1.8.0-openjdk provides is missing java
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: java-1.8.0-openjdk
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks: 900676 1200567
TreeView+ depends on / blocked
 
Reported: 2015-02-05 13:53 UTC by Katerina Odabasi
Modified: 2015-11-19 03:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
With Red Hat Enterprise Linux 7.1, the java-1.8.0-openjdk packages do not provide "java" in the RPM metadata, which breaks compatibility with packages that require Java and are available from the Enterprise Application Platform (EAP) channel. To work around this problem, install another package that provides "java" in the RPM metadata before installing java-1.8.0-openjdk.
Clone Of:
Environment:
Last Closed: 2015-11-19 03:50:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 900676 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2015:2181 0 normal SHIPPED_LIVE java-1.8.0-openjdk enhancement update 2015-11-19 07:51:57 UTC

Internal Links: 900676

Description Katerina Odabasi 2015-02-05 13:53:32 UTC
Description of problem:
With RHEL7.1 java-1.8.0-openjdk package doesn't contain in provides "java" (it contains only "java-1.8.0-openjdk".
This breaks compatibility with packages from EAP channel which requires "java".

Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-1.8.0.31-2.b13.el7

How reproducible:
always

Actual results:
repoquery --provides --plugins java-1.8.0-openjdk
java-1.8.0-openjdk = 1:1.8.0.31-2.b13.el7
java-1.8.0-openjdk(x86-64) = 1:1.8.0.31-2.b13.el7
...

Expected results:
The package also provides "java"

Comment 1 jiri vanek 2015-02-05 13:58:16 UTC
This is not a bug, it is a feature. Please see:

https://bugzilla.redhat.com/show_bug.cgi?id=1155783 (yes it is for rhel 6 but it is same issue)
and
https://bugzilla.redhat.com/show_bug.cgi?id=1155786

If you are more interested in this topic, search how it was during addition of openjdk7  into rhel6/

Comment 2 Katerina Odabasi 2015-02-05 14:45:36 UTC
EAP supports multiple java versions. EAP packages then cannot require specific java version, but must use generic "java".

For example java-1.7.0-openjdk on RHEL7.1 has:
# repoquery --provides --plugins java-1.7.0-openjdk
java = 1:1.7.0
java-1.7.0 = 1:1.7.0.75-2.5.4.2.el7_0
java-1.7.0-openjdk = 1:1.7.0.75-2.5.4.2.el7_0
java-1.7.0-openjdk(x86-64) = 1:1.7.0.75-2.5.4.2.el7_0
java-fonts = 1:1.7.0.75
java-openjdk = 1:1.7.0.75-2.5.4.2.el7_0
...

There are more examples like java-1.6.0-openjdk on RHEL5.

Comment 4 jiri vanek 2015-02-05 15:05:18 UTC
Please find already existing bug for this topic. I again repeat to you, this is intentional.

Comment 5 jiri vanek 2015-02-05 15:11:34 UTC
Ok. Sorry. Returning of java provides is opened only for rhel 6. And In some future should be done aslo for 7.

Comment 14 jiri vanek 2015-07-21 14:16:19 UTC
The provides are there for some time:
http://pkgs.devel.redhat.com/cgit/rpms/java-1.8.0-openjdk/tree/java-1.8.0-openjdk.spec?h=rhel-7.2

Comment 18 errata-xmlrpc 2015-11-19 03:50:32 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.

https://rhn.redhat.com/errata/RHBA-2015-2181.html


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