Re: [PATCH v2] efivarfs: add nostatfs mount option to skip QueryVariableInfo()

From: Steve McIntyre

Date: Thu Sep 24 2026 - 07:23:25 EST


Hey all,

On Thu, Sep 24, 2026 at 08:05:34AM -0300, Luis Claudio R. Goncalves wrote:
>On Fri, Sep 18, 2026 at 09:41:24PM -0700, Prashant Singh wrote:
>
>I tested the patch and was quite satisfied with the results, but upon a
>comment from colleagues I ran a few more tests and noticed (confirmed their
>hunch) that fwupd complains about not being able to get the free space in
>efivars:
>
> # fwupdmgr get-devices | grep efivars
> │ Update Error: getting efivars free space is not supported
> │ │ Update Error: getting efivars free space is not supported
> ...
>
>I was not able to establish whether that would prevent specific operations
>due to the HW I had available for such test.

fwupd will refuse to do some of its updates if it can't read the
efivars free space, in particular updates of the secure boot keyrings
like KEK/DB/DBX.

--
Steve McIntyre, Cambridge, UK. 93sam@xxxxxxxxxx