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

Add --location to curl calls for possible redirections

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.0
    • hplip
    • None
    • hplip-3.23.12-9.el10
    • No
    • Moderate
    • rhel-stacks-web-servers
    • ssg_core_services
    • 23
    • 25
    • 3
    • False
    • False
    • Hide

      None

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

      When downloading the plugin from some countries, redirection can happen during downloading, which is not currently set for some curl calls in hp-plugin, so the plugin installation fails.

      Fix: backport https://src.fedoraproject.org/rpms/hplip/c/4a5cbec2d343c943d625d1440a67f3bb5a6e4ff9?branch=rawhide to follow redirections in curl.

      Current results:

      # hp-plugin -i
      ...
      Enter option (d=download*, p=specify path, q=quit) ? d
      
      -------------------
      | DOWNLOAD PLUGIN |
      -------------------
      
      Checking for network connection...
      Downloading plug-in from: 
      Downloading plug-in: [\                                                                                                                                                                                                ] 0%     
      Plugin is not accessible. Trying to download it from fallback location: [https://developers.hp.com/sites/default/files/hplip-3.23.12-plugin.run]
       
      error: /root/.hplip/hplip-3.23.12-plugin.run file not found
      

      Setting this to moderate priority, since not majority of devices needs plugin and this happens only in some environments

              rh-ee-pdancak Petr Dancak
              zdohnal@redhat.com Zdenek Dohnal
              Zdenek Dohnal Zdenek Dohnal
              Zdenek Dohnal Zdenek Dohnal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: