Fixes a command line handling bug.
sudo dnf upgrade --refresh --advisory=FEDORA-2022-e4be550a47
This update has been submitted for testing by pjones.
This update's test gating status has been changed to 'ignored'.
$ sudo mokutil -s
$ sudo mokutil --sb-state
mokutil: unrecognized option '--sb-state'
mokutil OPTIONS [ARGS...]
$ rpm -q mokutil
I'm guessing it's related to the recent usage patch. Seems to work fine compiled from scratch against upstream.
src]$ sudo ./mokutil --sb-state
src]$ sudo ./mokutil -s
mokutil OPTIONS [ARGS...]
--help Show help
--list-enrolled List the enrolled keys
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.
sudo make install
rpm -V mokutil
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.
sudo mokutil --bs-state
This update has been pushed to testing.
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)
PID: 6979 (mokutil)
UID: 1000 (geraldo)
GID: 1000 (geraldo)
Signal: 6 (ABRT)
Timestamp: Wed 2022-05-25 15:17:48 -03 (56s ago)
Command Line: mokutil -s
Control Group: /firstname.lastname@example.org/app.slice/app-org.kde.konsole-cc4451fdcc194b2e98e5b50fe77f9a23.scope
User Unit: app-org.kde.konsole-cc4451fdcc194b2e98e5b50fe77f9a23.scope
Owner UID: 1000 (geraldo)
Storage: /var/lib/systemd/coredump/core.mokutil.1000.613f9a483d494871ad63650de27d7ad0.6979.1653502668000000.zst (present)
Disk Size: 78.9K
Message: Process 6979 (mokutil) of user 1000 dumped core.
pjones edited this update.
Karma has been reset.
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.
Works on x86 and aarch64
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.
Please login to add feedback.
Confirm request to re-trigger tests.
Copyright © 2007-2023 Red Hat, Inc. and
bodhi-server 7.0.1 on
bodhi is Free Software.
if you have any problems. Read the documentation.