Bug 964762 - setup & upgrade should enforce open-jdk JRE using alternatives
Summary: setup & upgrade should enforce open-jdk JRE using alternatives
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Moran Goldboim
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-19 16:37 UTC by Barak
Modified: 2015-09-22 13:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-20 23:05:45 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Barak 2013-05-19 16:37:01 UTC
Today the engine-setup & upgrade do not force the use of open-jdk.

This creates issues like the one described in Bug 961081.

See also bug 860329 for reference (a documentation bug).

Comment 3 Itamar Heim 2013-05-20 19:51:02 UTC
isn't it bad form to force alternatives in the machine, rather make sure we use what we need?

Comment 4 Alon Bar-Lev 2013-05-20 20:05:13 UTC
(In reply to Itamar Heim from comment #3)
> isn't it bad form to force alternatives in the machine, rather make sure we
> use what we need?

Correct.
Application should not touch system wide settings.
Application that is jre sensitive should select its flavor of what installed.

Alternatives could have been more helpful if it could have been queried for its information. But for now, we simply search the right jre.

In Gentoo, for example, it is much more advanced...

$ java-config --select-vm=icedtea-7 --java
/usr/lib64/icedtea7/bin/java
$ java-config --select-vm=icedtea-7 --javac
/usr/lib64/icedtea7/bin/javac
$ java-config --select-vm=icedtea-7 --jre-home
/usr/lib64/icedtea7

Comment 6 Alon Bar-Lev 2013-05-20 20:07:48 UTC
This is dup of bug#834436, and juan work within.


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