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

Image Mode uninstallation raises warnings

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CentOS Stream 10
    • subscription-manager
    • None
    • None
    • None
    • subs-client-tools-2
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

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

      Remove subscription-manager from CentOS Stream 10 bootc container image.

      What is the impact of this issue to you?

      None, but it requires time to investigate.

      Please provide the package NVR for which the bug is seen:

      subscription-manager-1.30.11-1.el10.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      # Containerfile
      FROM quay.io/centos-bootc/centos-bootc:stream10
      # Currently, it is an image e7a94ff6bdc3
      RUN rpm -q subscription-manager insights-client yggdrasil
      RUN dnf remove -y subscription-manager
      
      1. podman build --cache-ttl 1s -f Containerfile

      (or 'run' the image and execute the dnf command by hand)

      Expected results

      %post scriptlet does not produce warnings

      Actual results

       

        Running scriptlet: subscription-manager-1.30.11-1.el10.x86_64             3/3 
      Removed '/etc/systemd/system/multi-user.target.wants/rhsmcertd.service'.
      
        Erasing          : subscription-manager-1.30.11-1.el10.x86_64             3/3 
      warning: file /var/lib/rhsm/packages: remove failed: No such file or directory
      warning: file /var/lib/rhsm/facts: remove failed: No such file or directory
      warning: file /var/lib/rhsm/cache: remove failed: No such file or directory
      
        Running scriptlet: subscription-manager-1.30.11-1.el10.x86_64             3/3 
      ...
      

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              mhorky@redhat.com Matyas Horky
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: