Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-305

RHELAI container files must not override "releasever" DNF var

    • False
    • Hide

      None

      Show
      None
    • False

      The RHELAI container images have started to define the DNF var releasever, e.g. https://gitlab.com/redhat/rhel-ai/containers/instructlab-nvidia/-/merge_requests/410 . The releasever var is one of five hard-coded variables. The variable must not be modified by users. DNF reads the variable from RPMDB (e.g. from redhat-release package).

      To Reproduce Steps to reproduce the behavior:

      $ grep -R /etc/dnf/vars/releasever */Containerfile
      amd-bootc/Containerfile:    && echo "9.4" > /etc/dnf/vars/releasever
      amd-bootc/Containerfile:    && echo "9.4" > /etc/dnf/vars/releasever
      instructlab-nvidia/Containerfile:    && echo "9.4" > /etc/dnf/vars/releasever
      nvidia-bootc/Containerfile:    && echo "9.4" > /etc/dnf/vars/releasever
      

      Expected behavior

      • No container file attempts to modify releasever through /etc/dnf/vars.

      Additional context

              prarit@redhat.com Prarit Bhargava
              cheimes@redhat.com Christian Heimes
              Enrique Belarte Luque, Fabien Dupont, Liora Milbaum
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: