Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80074

Restore ability to set alternative using family argument [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • java-21-openjdk
    • None
    • No
    • None
    • rhel-sst-java
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      jdowland@redhat.com reports:

      works in UBI9 and earlier:

      alternatives --set java java-21-openjdk.${_arch}
      

      , but fails in UBI10

      Works in UBI10, but fails in UBI9:

      alternatives --set java /usr/lib/jvm/java-21-openjdk/bin/java
      

      I removed the --family arguments to java-21-openjdk alternatives installation line, in:

      https://gitlab.com/redhat/centos-stream/rpms/java-21-openjdk/-/merge_requests/33/diffs?commit_id=41185b81bfee7bf23a931a4336c4d085d5dba7cd

      for:

      https://issues.redhat.com/browse/RHEL-68848

      I think we should probably revert that to maintain support for jdowland@redhat.com's usage.

              rhn-engineering-ahughes Andrew Hughes
              fitzsim Thomas Fitzsimmons
              Andrew Hughes Andrew Hughes
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: