So, after compiling and running mokutil from upstream source and running it, the Fedora RPM command also oddly started working. I did not sudo make install and rpm -V mokutil returns empty. I also removed the two build deps I installed (efivar-devel keyutils-libs-devel) and it still works.
In order to rule out a random fluke on my laptop, I ran sudo mokutil --bs-state on another f36 laptop and it returned the original error and usage instead of the secureboot status. It working after compiling it locally as a non-root user without make install makes no sense to me, but I can reproduce it on multiple f36 machines of different brands.
This update has been submitted for testing by pjones.
This update's test gating status has been changed to 'ignored'.
$ sudo mokutil -s Aborted
$ sudo mokutil --sb-state mokutil: unrecognized option '--sb-state' Usage: mokutil OPTIONS [ARGS...] ...
$ rpm -q mokutil mokutil-0.6.0-2.fc36.x86_64
I'm guessing it's related to the recent usage patch. Seems to work fine compiled from scratch against upstream.
So, after compiling and running mokutil from upstream source and running it, the Fedora RPM command also oddly started working. I did not
sudo make install
andrpm -V mokutil
returns empty. I also removed the two build deps I installed (efivar-devel keyutils-libs-devel) and it still works.In order to rule out a random fluke on my laptop, I ran
sudo mokutil --bs-state
on another f36 laptop and it returned the original error and usage instead of the secureboot status. It working after compiling it locally as a non-root user without make install makes no sense to me, but I can reproduce it on multiple f36 machines of different brands.This update has been pushed to testing.
Generally funcional yes, but the coredump bug still there:
rpm -qa|grep mokutil ==> mokutil-0.6.0-2.fc36.x86_64
mokutil --sb-state ==> SecureBoot disabled
mokutil -s ==> Abortado (imagem do núcleo gravada)
pjones edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been submitted for testing by pjones.
Yeah, so what happened here is someone cleaned up the spec file and accidentally broke patch application when they did. Should be right in -3.
This update has been pushed to testing.
Works on x86 and aarch64
Works
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by pjones.
This update has been pushed to stable.