Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-18084

containers-common has an incorrect dependency on crun when it uses runc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Normal
    • None
    • 4.13.z, 4.13.0
    • Containers
    • None
    • Moderate
    • No
    • 3
    • False
    • Hide

      None

      Show
      None

    Description

      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.

      Attachments

        Activity

          People

            rhn-support-jnovy Jindrich Novy
            rhn-support-jcastran John Castranio
            David Darrah David Darrah
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: