-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Yesterday I converted the CentOS 8.4 to RHEL 8.4 successfully with convert2rhel command. But the java command soft link is missing after the convertion. My command is "convert2rhel --disable-submgr --enablerepo rhes84-baseos --enablerepo rhes84-appstream -y --no-rpm-va --debug". The convert log message doesn't complain about the openjdk. Actually the openjdk package is still there.
# rpm -qa|grep jdk
copy-jdk-configs-3.7-4.el8.noarch
java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64
java-1.8.0-openjdk-headless-1.8.0.282.b08-4.el8.x86_64
The java command exists as well.
# ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
-rwxr-xr-x. 1 root root 11520 Feb 24 2021 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
But the java soft link is missing.
# which java
/usr/bin/which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/cdfwendy/bin:/cdfwendy/bin:/root/bin)
# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
python auto /usr/libexec/no-python
ifup auto /usr/libexec/nm-ifup
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
nmap auto /usr/bin/ncat
python3 auto /usr/bin/python3.6
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
libwbclient.so.0.15-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.15
Before the convert, the java is showed in alternatives list as below.
# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
python auto /usr/libexec/no-python
ifup auto /usr/libexec/nm-ifup
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
nmap auto /usr/bin/ncat
python3 auto /usr/bin/python3.6
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
libwbclient.so.0.15-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.15
java auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
jre_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre
jre_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre
jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64
Any suggestions are appreciated.
Metadata
Metadata
Assignees
Labels
No labels