Bug 1955828 - sbkeysync returns zero when updating EFI variables fails
Summary: sbkeysync returns zero when updating EFI variables fails
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: sbsigntools
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 22:16 UTC by Andrew Gunnerson
Modified: 2021-04-30 22:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Andrew Gunnerson 2021-04-30 22:16:18 UTC
Description of problem:

When sbkeysync tries to update EFI variables and fails to do so, it still exits with status code 0 because some return values aren't checked.

This is fixed upstream, but is not in a stable release: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/commit/?id=f12484869c9590682ac3253d583bf59b890bb826

Would it be possible to update the Fedora package to include this patch?

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

sbsigntools-0.9.4-3.fc34.x86_64


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