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.
DescriptionChandan Chouhan
2018-04-03 20:48:40 UTC
Created attachment 1416915[details]
Preupgrade assessment file /root/preupgrade/result.html is uploaded
Description of problem:
rhel 6.9 to rhel 7.4 upgrade reports error when java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 package installed in the system.
It looks like that there is a problem with backing up java files before the upgrade.
The script /root/preupgrade/RHEL6_7/system/java/check looks for java configuration files in the /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/ instead of /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.Install java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 on rhel 6.9
2.Run preupg
3.We can see below error in preupgrade assessment report /root/preupgrade/result.html
~~~~
preupg.log.ERROR: The /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 directory does not exist.
~~~~
It looks like that there is a problem with backing up java files before the upgrade.
Actual results:
The script /root/preupgrade/RHEL6_7/system/java/check looks for java configuration files in the /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/ instead of /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/
Expected results:
The script /root/preupgrade/RHEL6_7/system/java/check should not look for java configuration files in /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/
Additional info:
Package java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 does not deploy any file with name /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/
# rpm2cpio java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686.rpm | cpio -idmv
./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/bin/policytool
./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libawt_xawt.so
./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libjawt.so
./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libjsoundalsa.so
./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libsplashscreen.so
./usr/share/applications/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386-policytool.desktop
./usr/share/icons/hicolor/16x16/apps/java-1.8.0.png
./usr/share/icons/hicolor/24x24/apps/java-1.8.0.png
./usr/share/icons/hicolor/32x32/apps/java-1.8.0.png
./usr/share/icons/hicolor/48x48/apps/java-1.8.0.png
Thanks for the report. We will look at it. However, where did you get the *.i686 rpm? I am not able to find it in our repositories for 64b systems. I can just downloaded directly from our build server, so I am confused here. Is it supported to have this RPM installed on 64b system? Anyway, we will look at it.
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://access.redhat.com/errata/RHBA-2018:1935
Created attachment 1416915 [details] Preupgrade assessment file /root/preupgrade/result.html is uploaded Description of problem: rhel 6.9 to rhel 7.4 upgrade reports error when java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 package installed in the system. It looks like that there is a problem with backing up java files before the upgrade. The script /root/preupgrade/RHEL6_7/system/java/check looks for java configuration files in the /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/ instead of /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/ Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Install java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 on rhel 6.9 2.Run preupg 3.We can see below error in preupgrade assessment report /root/preupgrade/result.html ~~~~ preupg.log.ERROR: The /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 directory does not exist. ~~~~ It looks like that there is a problem with backing up java files before the upgrade. Actual results: The script /root/preupgrade/RHEL6_7/system/java/check looks for java configuration files in the /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/ instead of /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/ Expected results: The script /root/preupgrade/RHEL6_7/system/java/check should not look for java configuration files in /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/ Additional info: Package java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686 does not deploy any file with name /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686/ # rpm2cpio java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i686.rpm | cpio -idmv ./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/bin/policytool ./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libawt_xawt.so ./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libjawt.so ./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libjsoundalsa.so ./usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386/jre/lib/i386/libsplashscreen.so ./usr/share/applications/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.i386-policytool.desktop ./usr/share/icons/hicolor/16x16/apps/java-1.8.0.png ./usr/share/icons/hicolor/24x24/apps/java-1.8.0.png ./usr/share/icons/hicolor/32x32/apps/java-1.8.0.png ./usr/share/icons/hicolor/48x48/apps/java-1.8.0.png