bootctl: handle if LoaderSystemToken is invalid for some reason
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Sep 2020 10:35:19 +0000 (12:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 10:51:04 +0000 (12:51 +0200)
commit1d594250258ac65b565d8985d30395220febe3fe
tree24a7597c127f843cade8e1bf1855f04dbd8a7822
parentdf14a160095987140f4435412156a80ec628fd7c
bootctl: handle if LoaderSystemToken is invalid for some reason

This points to some firmware issue, but we should still be able to
correct things if this happens. Hence log about this and fix it.

Fixes: #17041
(cherry picked from commit ad0b610b0c1c2595c32b6235e7ac5ad7fba6e0aa)
(cherry picked from commit a06cf9a5bad917b9ac6016c940c5f0f0238f266f)
(cherry picked from commit 387881ae21acc1022c5c8c17f273ecc254fffe24)
(cherry picked from commit 9f6249eb7fe14ea975dd9d48681408005f598fe4)
src/boot/bootctl.c