Bug 2030704

Summary: Please backport ability to change fallback verbose mode
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: mokutilAssignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED ERRATA QA Contact: Oliver Gutiérrez <ogutierr>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: jaredz, rharwood, rvr
Target Milestone: rcKeywords: OtherQA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
URL: https://github.com/lcp/mokutil/pull/46
Whiteboard:
Fixed In Version: mokutil-0.3.0-12.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2069296 (view as bug list) Environment:
Last Closed: 2022-11-08 10:46:33 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: 2069296    
Bug Blocks:    

Description Renaud Métrich 2021-12-09 14:22:39 UTC
Description of problem:

Please backport https://github.com/lcp/mokutil/pull/46 to RHEL8 mokutil.
This enables to set fallback verbosity easily.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Renaud Métrich 2022-02-09 17:26:55 UTC
Hi Jared,

I can provide OtherQA, I have systems setup to verify this.

Renaud.

Comment 4 Oliver Gutiérrez 2022-05-03 14:50:21 UTC
@rmetrich I've just did the initial verification for the package and seems to contain what you asked for.

Can you please confirm it works for you?

Comment 7 Renaud Métrich 2022-05-03 15:19:44 UTC
Hi,

I can confirm it works for me as well:

Enabling the features:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[root@vm-uefi8 ~]# efivar -l | grep FALL
[root@vm-uefi8 ~]# 

[root@vm-uefi8 ~]# mokutil --set-fallback-verbosity true
[root@vm-uefi8 ~]# efivar -l | grep FALL
605dab50-e046-4300-abb6-3dd810dd8b23-FALLBACK_VERBOSE

[root@vm-uefi8 ~]# efivar -l | grep REBOOT
605dab50-e046-4300-abb6-3dd810dd8b23-FB_NO_REBOOT
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Disabling the features:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[root@vm-uefi8 ~]# efivar -l | egrep "REBOOT|FALLBACK"
605dab50-e046-4300-abb6-3dd810dd8b23-FB_NO_REBOOT
605dab50-e046-4300-abb6-3dd810dd8b23-FALLBACK_VERBOSE

[root@vm-uefi8 ~]# mokutil --set-fallback-verbosity false
[root@vm-uefi8 ~]# efivar -l | grep FALL
[root@vm-uefi8 ~]# 

[root@vm-uefi8 ~]# mokutil --set-fallback-noreboot false
[root@vm-uefi8 ~]# efivar -l | grep REBOOT
[root@vm-uefi8 ~]# 
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Additionally bash completion works:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[root@vm-uefi8 ~]# mokutil --set-fallback-<TAB>
--set-fallback-noreboot   --set-fallback-verbosity  

[root@vm-uefi8 ~]# mokutil --set-fallback-noreboot <TAB>
false  true   

[root@vm-uefi8 ~]# mokutil --set-fallback-verbosity 
false  true   
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Comment 10 errata-xmlrpc 2022-11-08 10:46: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 (mokutil 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-2022:7702