Am 13.05.21 um 12:46 schrieb Thomas Mühlbacher:
Hi,
yes, I am using GRUB with Secure Boot enabled. SB does apparently make
it so the variable does not get cached.
So imo, the problem is that the command only even tries to read the
variable from the cache and not from `/sys`.
I will file it upstream. Thanks for helping!
looking a bit more into it, I *guess* systemd-efi-options is only set /
cached during boot if you actually use sd-boot and it only shows the
currently active boot options.
So I'm not actually sure anymore, if this is really a bug or working as
expected. If the latter, the man page could be clarified in that regard.
So it seems worthwile filing a bug report in any case.