Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1486378 - Provides and obsoletes added in 13-0.3 don't work
Summary: Provides and obsoletes added in 13-0.3 don't work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: shim-signed
Version: rawhide
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F27BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2017-08-29 15:27 UTC by Adam Williamson
Modified: 2017-08-31 15:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-30 12:06:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2017-08-29 15:27:43 UTC
The Provides: (for shim and shim-signed) and Obsoletes: (for shim-signed) that were added in the 13-0.3 build don't actually work:

[adamw@xps13k tmp]$ rpm -qp --provides shim-x64-13-0.3.x86_64.rpm 
warning: shim-x64-13-0.3.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f5282ee4: NOKEY
bundled(openssl) = 1.0.2j
shim-signed-x64 = 13-0.3
shim-x64 = 13-0.3
shim-x64(x86-64) = 13-0.3

[adamw@xps13k tmp]$ rpm -qp --obsoletes shim-x64-13-0.3.x86_64.rpm 
warning: shim-x64-13-0.3.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f5282ee4: NOKEY
shim < 13-0.3

I believe this is because (due to the define_pkg macro) they come after the subpackage description, which I think kinda 'closes' the subpackage metadata block. I think these Provides: and Obsoletes: would be applied to the main package (shim-signed), except we don't actually produce that package, so they just kinda...disappear into the ether. But I haven't actually checked this against the RPM documentation (hah) or whatever, it's just my guess.

This is a clear Fedora 27 Beta blocker, because it breaks UEFI installs: anaconda expects to install the package 'shim' for UEFI installs (through the bootloader class stuff), and there is nothing to provide 'shim', so it just dies.

Comment 1 Adam Williamson 2017-08-30 12:06:22 UTC
Confirmed fixed in 13-0.4 - https://koji.fedoraproject.org/koji/buildinfo?buildID=962873 .

Comment 2 Adam Williamson 2017-08-31 15:23:24 UTC
Update here: 13-0.4 was not actually tagged for anything. It was built after the Bodhi activation point for F27 so it didn't go into F27 directly, and Peter didn't tag it for Rawhide.

Kevin is going to just tag it for both (bypassing Bodhi for F27) and refire the composes.


Note You need to log in before you can comment on or make changes to this bug.