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:11:15 +0000 (12:11 +0200)
commit387881ae21acc1022c5c8c17f273ecc254fffe24
treed42f11ce465ef93e1b159cccc1cd71d864ac3e86
parent585352ec8acac3d2e91b41ee2963c9d0d89fab37
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)
src/boot/bootctl.c