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

bootc image is missing the yum package

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.4
    • rhel-bootc-container
    • None
    • None
    • Moderate
    • ZStream
    • sst_bootc
    • 13
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Use yum inside of bootc. Without the yum package we are missing the yum symlinks to dnf. Our documentation relies on yum being installed

      Expected results

      [root@tower ~]# podman run registry.redhat.io/rhel9/rhel-bootc dnf repolist
      Updating Subscription Management repositories.
      Unable to read consumer identity
      subscription-manager is operating in container mode.
      repo id                          repo name
      rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      rhel-9-for-x86_64-baseos-rpms    Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)

      Actual results

       

      [root@tower ~]# podman run registry.redhat.io/rhel9/rhel-bootc yum repolist
      Error: runc: runc create failed: unable to start container process: exec: "yum": executable file not found in $PATH: OCI runtime attempted to invoke a command that was not found
      
      [root@tower ~]# podman run -it registry.redhat.io/rhel9/rhel-bootc bash
      bash-5.1# rpm -q yum
      package yum is not installed
      bash-5.1# yum
      bash: yum: command not found

       

       

       

            walters@redhat.com Colin Walters
            rhn-support-jcastran John Castranio
            Colin Walters Colin Walters
            Wei Shi Wei Shi
            Gabriela Necasova Gabriela Necasova
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: