Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2092944

Summary: Rebase swtpm for RHEL 9.2
Product: Red Hat Enterprise Linux 9 Reporter: John Ferlan <jferlan>
Component: swtpmAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Yanqiu Zhang <yanqzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.2CC: lmen, mprivozn, xuzhang, yanqzhan, ymankad
Target Milestone: rcKeywords: Triaged
Target Release: 9.2Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: swtpm-0.8.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:47:50 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:
Bug Depends On:    
Bug Blocks: 2087538, 2130192, 2152618    

Description John Ferlan 2022-06-02 15:06:28 UTC
Rebase swtpm from latest upstream release for RHEL 9.1

Comment 2 John Ferlan 2022-06-21 11:25:15 UTC
Moving the rebase to 9.2 as there are may only be a few patches that can be backported.

Comment 4 John Ferlan 2022-10-21 13:31:54 UTC
Adding dependency for libvirt bug 2130192 which adds support for migration across shared storage via https://listman.redhat.com/archives/libvir-list/2022-October/234970.html which according to Stefan "requires (upcoming) swtpm v0.8".  So let's shoot for that.

Comment 5 Michal Privoznik 2022-11-09 11:39:34 UTC
Libvirt patches just landed. I've asked Stefan to do swtpm release here: https://listman.redhat.com/archives/libvir-list/2022-November/235706.html

Comment 6 Marc-Andre Lureau 2022-11-22 07:01:29 UTC
Let's update swtpm (which doesn't require new libtpms)

Comment 15 Yanqiu Zhang 2023-01-17 08:34:21 UTC
Auto regression test passed:
https://libvirt-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/libvirt-RHEL-9.2-runtest-x86_64-function-tpm_emulator/28/testReport/
swtpm-0.8.0-1.el9.x86_64
libtpms-0.9.1-2.20211126git1ff6fe1f43.el9
libvirt-8.10.0-2.el9.x86_64
qemu-kvm-7.2.0-4.el9.x86_64
kernel-5.14.0-230.el9.x86_64

And the 3 blocked bugs are all pre-verified or verified pass with rebased swtpm.

Mark this bug as verified.

Comment 17 errata-xmlrpc 2023-05-09 07:47:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (swtpm bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2348