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.
Description of problem:
This is needed for the effort to containerize IPA. We need to reduce the footprint of the image - and can do so by pulling in java-headless instead of
the full java stack.
pki-server -> velocity -> jaxen -> dom4j -> msv-msv -> ant -> java-devel -> java
The changes to do this (and convert in general to use java-headless) are
already in Fedora. We just need them backported to RHEL 7.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Based on the initial measurement in Fedora, this could save about 300 MB of requirements for FreeIPA, which is pretty significant saving, for our users.
Are yusure java and not java-headless?
Also, are you sure with >=1.5 ?
I might be out of loop - but I recently crossed over package which was requesting 1.7 in build, and in runtime had still >= 1.5 - so it was not able to run when jdk6 was installed.
So just to recall it ...
Comment 24Jan Pazdziora (Red Hat)
2016-03-21 12:39:37 UTC
(In reply to Mikolaj Izdebski from comment #22)
> This bug is about removing dependency on ant, which brings java-devel.
> Dependency on java won't be removed as java is required for msv to be usable.
Fair enough. Should we file another bugzilla for moving into java-headless dependency?
Comment 26Jan Pazdziora (Red Hat)
2016-03-21 12:45:00 UTC
Comment 30Mikolaj Izdebski
2016-03-21 13:32:27 UTC
RHEL 7 packaging guidelines is the same as Fedora 19 packaging guidelines, according to which all packages that require Java runtime (JRE) to work should require "java". These requires are generated automatically for all Java packages. I wouldn't mind changing most of "java" requires to "java-headless", but that would mean updating hundreds of packages and is not likely to be approved. On the other hand, changing only a few packages introduces inconsistency and means adding hacks to work around automatic dependency generators and established policy.
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-2016-2224.html