Bug 2000410
Summary: | using virt-qemu-run to start guest with luks image failed with error "No current identity to elevate" | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | zhentang <zhetang> | ||||
Component: | libvirt | Assignee: | Ján Tomko <jtomko> | ||||
libvirt sub component: | General | QA Contact: | Han Han <hhan> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | medium | ||||||
Priority: | low | CC: | dzheng, fjin, hhan, jdenemar, jsuchane, jtomko, lmen, virt-maint, xuzhang, yafu, yalzhang | ||||
Version: | 9.0 | Keywords: | Triaged | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libvirt-9.2.0-1.el9 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 2000983 2016264 (view as bug list) | Environment: | |||||
Last Closed: | 2023-11-07 08:30:47 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: | 9.2.0 | ||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2000983, 2016264 | ||||||
Attachments: |
|
Description
zhentang
2021-09-02 06:19:52 UTC
Start vm without specified root dir has same issue *** Bug 2000983 has been marked as a duplicate of this bug. *** *** Bug 2016264 has been marked as a duplicate of this bug. *** Upstream patch: https://listman.redhat.com/archives/libvir-list/2023-March/238834.html Given the disclaimer in virt-qemu-run's man page: NOTE: this tool is currently considered experimental. Its usage and behaviour is still subject to change in future libvirt re‐ leases. For further information on its usage consult the QEMU driver documentation. I don't think we care about it much. But the fix seemed trivial enough. commit 8c8cda2c9a94c63917e859ed83593dc4e28b0644 Author: Ján Tomko <jtomko> CommitDate: 2023-03-22 14:41:28 +0100 qemu_shim: set system identity Otherwise looking up a secret fails when we try to elevate the identity in qemuDomainSecretInfoSetupFromSecret. https://bugzilla.redhat.com/show_bug.cgi?id=2000410 Signed-off-by: Ján Tomko <jtomko> Reviewed-by: Michal Privoznik <mprivozn> git describe: v9.1.0-275-g8c8cda2c9a Created attachment 1955674 [details] The scripts for verification Test as comment0 on qemu-kvm-7.2.0-14.el9_2.x86_64 libvirt-9.2.0-1.el9.x86_64. PASS Tested as comment7 on libvirt-9.3.0-2.el9.x86_64 qemu-kvm-8.0.0-4.el9.x86_64. PASS 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 (Moderate: libvirt security, 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/RHSA-2023:6409 |