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 2021116 - [RFE] update variable locking
Summary: [RFE] update variable locking
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: edk2
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Oliver Steffen
QA Contact: Xueqiang Wei
URL:
Whiteboard:
Depends On: 2056910
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-08 11:56 UTC by Gerd Hoffmann
Modified: 2022-11-15 10:25 UTC (History)
12 users (show)

Fixed In Version: edk2-20220221gitb24306f15d-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 09:56:33 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-101968 0 None None None 2021-11-08 11:57:11 UTC
Red Hat Product Errata RHEA-2022:7971 0 None None None 2022-11-15 09:57:21 UTC

Description Gerd Hoffmann 2021-11-08 11:56:19 UTC
Description of problem:

from edk2 boot log:

!!! DEPRECATED INTERFACE !!! VariableLockRequestToLock() will go away soon!
!!! DEPRECATED INTERFACE !!! Please move to use Variable Policy!
!!! DEPRECATED INTERFACE !!! Variable: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C PlatformRecovery0000

Comment 4 Oliver Steffen 2022-02-21 13:35:28 UTC
This was already fixed upstream:
https://github.com/tianocore/edk2/commit/f4b7b473b4afd0093768905529bfae09a2061d41

Comment 5 Klaus Heinrich Kiwi 2022-03-23 18:58:46 UTC
After a discussion with Yash, moving back to assigned, as it reflects better that this is waiting for the rebase.

Comment 6 Xueqiang Wei 2022-04-28 16:29:44 UTC
Tested with edk2-20220126gitbb1bba3d77-1.el9, reproduced this bug.

Found the following string from edk2 boot log:

!!! DEPRECATED INTERFACE !!! VariableLockRequestToLock() will go away soon!
!!! DEPRECATED INTERFACE !!! Please move to use Variable Policy!
!!! DEPRECATED INTERFACE !!! Variable: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C PlatformRecovery0000



Tested with edk2-ovmf-20220221gitb24306f15d-1.el9.noarch, not hit it. So set status to MODIFIED.

Versoins:
kernel-5.14.0-78.el9.x86_64
qemu-kvm-7.0.0-1.el9
edk2-ovmf-20220221gitb24306f15d-1.el9.noarch


Found the following string from edk2 boot log:

[BdsDxe] Locate Variable Policy protocol - Success
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.
Variable Driver Auto Update PlatformLang, PlatformLang:en, Lang:eng Status: Success
VarCheckPolicyLibMmiHandler - Command 3 returning Success.
ProtocolRegisterVariablePolicy - MmCommunication returned Success.

Comment 8 Xueqiang Wei 2022-05-06 08:20:15 UTC
According to Comment 6, set status to VERIFIED. Thanks.

Comment 10 errata-xmlrpc 2022-11-15 09:56:33 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 (edk2 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/RHEA-2022:7971


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