[Bug 1936640] [NEW] Download signed version from versioned URL

Julian Andres Klode 1936640 at bugs.launchpad.net
Fri Jul 16 11:16:48 UTC 2021


Public bug reported:

[Impact]
shim-signed uploads FTBFS for a couple hours after upload on arm64, as the arm64 builders are behind a proxy with caching, and the proxy caches the old version for the current/ url.

Switch the download-signed script to extract the current version from
the apt cache and download from that instead of the unversioned symlink.
This means it will 404 on first try, and then hopefully the 404 is not
cached for hours.

[Test plan]
Check it downloads versioned script during build

[Where problems could occur]
I can imagine that if the version number of "shim" contains special characters, they might need URL escaping. At the moment, we don't have special characters, so it should just work.

** Affects: shim-signed (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1936640

Title:
  Download signed version from versioned URL

Status in shim-signed package in Ubuntu:
  New

Bug description:
  [Impact]
  shim-signed uploads FTBFS for a couple hours after upload on arm64, as the arm64 builders are behind a proxy with caching, and the proxy caches the old version for the current/ url.

  Switch the download-signed script to extract the current version from
  the apt cache and download from that instead of the unversioned
  symlink. This means it will 404 on first try, and then hopefully the
  404 is not cached for hours.

  [Test plan]
  Check it downloads versioned script during build

  [Where problems could occur]
  I can imagine that if the version number of "shim" contains special characters, they might need URL escaping. At the moment, we don't have special characters, so it should just work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1936640/+subscriptions




More information about the foundations-bugs mailing list