-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.13.z, 4.13.0
-
None
-
Moderate
-
No
-
3
-
False
-
Description of problem:
When installing the content from
Version-Release number of selected component (if applicable):
containers-common-1-35.rhaos4.13.el9.x86_64
How reproducible:
Everytime
Steps to Reproduce:
1. # yum install podman --enablerepo=rhocp-4.13-for-rhel-9-x86_64-rpms 2. # podman ps
Actual results:
[root@r9 ~]# podman ps Error: default OCI runtime "runc" not found: invalid argument
Expected results:
it should either pull in runc, or the default runtime should be crun
Additional info:
The spec file is configured to set crun as the default on RHEL 9
rhaos-4.13-rhel-9/containers-common.spec-%if 0%{?rhel} >= 9 || 0%{?fedora} rhaos-4.13-rhel-9/containers-common.spec-Requires: crun >= 0.19 rhaos-4.13-rhel-9/containers-common.spec-%else rhaos-4.13-rhel-9/containers-common.spec:Requires: runc
But the default containers.conf is set to use runc.
$ grep ^runtime rhaos-4.13-rhel-9/containers.conf runtime = "runc"
This is depending on microshift which requires cri-o which requires runc. Instead of relying on this, we should have the containers-common package correctly point to a dependency if it's configured for it. Or it should be configured differently.