-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
False
-
-
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
- relates to
-
RHELAI-2430 builder, instructlab-intel, and intel-bootc are mixing 9.4 and 9.5 RPMs
- Closed