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

Fix the python36 buildroot package by adding alternatives [rhel-8]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • rhel-8.10
    • rhel-8.10
    • python36
    • None
    • python36-3.6.6-14.buildroot.el8
    • None
    • None
    • rhel-pt-python
    • ssg_core_services
    • 26
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Pass
    • None
    • None

      Fix buildroot problems with `/usr/bin/python3` by adding a highest-priority `alternatives` for this path to the python36 buildroot-only package.

      `/usr/bin/python3` in RHEL 8 is usser-configurable through `alternatives`. The definitions for these alternatives are defined in each Python alternative stack: python36, python38, python39, python3.11, etc. These definitions were never meant to be added to buildroot, but in the end they were. We need to fix the python36 buildroot-only package by providing an alternative to `/usr/bin/python3` pointing to Python 3.6 (platform-python), and make the alternative the highest priority, so it becomes default.

      Process note
      Since this is a buildroot-only package, Errata should not be filed (and if automation creates it, it should be dropped). See process for buildroot only packages:
      https://one.redhat.com/rhel-development-guide/#proc_updating-a-buildroot-only-package

              python-maint python-maint
              torsava@redhat.com Tomas Orsava
              Lumir Balhar Lumir Balhar
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: