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

cups pulls an unneeded dependency on python3

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • rhel-9.3.0
    • rhel-9.3.0
    • cups
    • None
    • None
    • Moderate
    • sst_cs_infra_services
    • ssg_core_services
    • 28
    • 29
    • None
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • Proposed Exception
    • None
    • None
    • None

      cups has a new package dependency on python3, which is not necessary at all, only the dependency on /usr/libexec/platform-python is required, in order to execute post script /usr/sbin/upgrade_get_document.

       

      # rpm -q --requires -p ./cups-2.2.6-51.el8_8.1.x86_64.rpm  | grep python
      /usr/libexec/platform-python
      python3 

      This unneeded dependency got introduced by CVE-2023-32360 because of the unneeded new stanzas below:

      # for upgrade-get-document script
      %if %{with python3}
      Requires(post): python3
      %else
      Requires(post): python
      %endif 

      Please rebuild the package without this block.

       

            zdohnal@redhat.com Zdenek Dohnal
            zdohnal@redhat.com Zdenek Dohnal
            Zdenek Dohnal Zdenek Dohnal
            Petr Dancak Petr Dancak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: