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

cups pulls an unneeded dependency on python3

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-8.9.0
    • rhel-8.9.0
    • cups
    • None
    • cups-2.2.6-54.el8_9
    • None
    • Moderate
    • ZStream
    • sst_cs_infra_services
    • ssg_core_services
    • 29
    • None
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • Approved Blocker
    • None

      cups-2.2.6-51.el8_8.1 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
            rhn-support-rmetrich Renaud Métrich
            Zdenek Dohnal Zdenek Dohnal
            Petr Sklenar Petr Sklenar
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: