Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2521

missing jre alternatives entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      "On RHEL 7.5 host, when I install java-1.8.0-openjdk, I get
      java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64 and its
      postinstall scriptlets sets the alternatives, among others

      1. ls -la /etc/alternatives/jre
        lrwxrwxrwx. 1 root root 62 Apr 24 07:43 /etc/alternatives/jre -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64/jre

      However, when I pull image

      registry.access.redhat.com/jboss-eap-7/eap71-openshift

      that alternatives symlink is missing, even if the package version is
      the same:

      1. docker run --rm registry.access.redhat.com/jboss-eap-7/eap71-openshift rpm -q java-1.8.0-openjdk-headless
        java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64
      2. docker run --rm registry.access.redhat.com/jboss-eap-7/eap71-openshift ls -la /etc/alternatives/jre
        ls: cannot access /etc/alternatives/jre: No such file or directory"

      (see also CLOUD-912)

              jdowland@redhat.com Jonathan Dowland
              jdowland@redhat.com Jonathan Dowland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: