Bug 2048035

Summary: Fedora Cloud Base and Container Base should support machinectl --verify=signature
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: distributionAssignee: Aoife Moloney <amoloney>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: kevin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 16:29:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Murphy 2022-01-29 06:53:46 UTC
Description of problem:


Version-Release number of selected component (if applicable):
systemd-249.9-1.fc35.x86_64

How reproducible:
Always

Steps to Reproduce:
$ sudo machinectl pull-tar https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/Fedora-Container-Base-35-20220127.0.x86_64.tar.xz FCB35-20220127
Enqueued transfer job 1. Press C-c to continue download in background.
Pulling 'https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/Fedora-Container-Base-35-20220127.0.x86_64.tar.xz', saving as 'FCB35-20220127'.
Downloading 34.8M for https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/Fedora-Container-Base-35-20220127.0.x86_64.tar.xz.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/Fedora-Container-Base-35-20220127.0.x86_64.nspawn failed with code 404.
Settings file could not be retrieved, proceeding without.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/SHA256SUMS.gpg failed with code 404.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Base/35/20220127.0/images/SHA256SUMS failed with code 404.
Failed to retrieve SHA256 checksum, cannot verify. (Try --verify=no?)
Exiting.


$ sudo machinectl pull-raw https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.raw.xz FCB35-20220127
Enqueued transfer job 2. Press C-c to continue download in background.
Pulling 'https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.raw.xz', saving as 'FCB35-20220127'.
Downloading 299.4M for https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.raw.xz.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.roothash.p7s failed with code 404.
Root hash signature file could not be retrieved, proceeding without.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.nspawn failed with code 404.
Settings file could not be retrieved, proceeding without.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.verity failed with code 404.
Verity integrity file could not be retrieved, proceeding without. https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.verity
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/SHA256SUMS.gpg failed with code 404.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/Fedora-Cloud-Base-35-20220128.0.x86_64.roothash failed with code 404.
Root hash file could not be retrieved, proceeding without.
HTTP request to https://kojipkgs.fedoraproject.org//packages/Fedora-Cloud-Base/35/20220128.0/images/SHA256SUMS failed with code 404.
Failed to retrieve SHA256 checksum, cannot verify. (Try --verify=no?)
Exiting.


Actual results:

no signature verification is possible because we're not publishing one in the location expected

Expected results:

failure to download the image unless --verify=no  is used

Additional info:

Comment 2 Ben Cotton 2022-11-29 17:46:10 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Ben Cotton 2022-12-13 16:29:17 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.