diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-11-19 16:33:22 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-21 19:55:17 +0100 |
commit | 351de38e4b4e6ca324346e6dbcefd224bbb3b190 (patch) | |
tree | 43e8f84efd913cfe08ba375b4f1a5b199ed88016 /man/bootctl.xml | |
parent | 9389a3cdc82022a0b8bcfcfee9b45a4896b34539 (diff) | |
download | systemd-351de38e4b4e6ca324346e6dbcefd224bbb3b190.tar.gz |
bootctl: make 'random-seed' handle inability to write system token EFI variable gracefully
Apparently some firmwares don't allow us to write this token, and refuse
it with EINVAL. We should normally consider that a fatal error, but not
really in the case of "bootctl random-seed" when called from the
systemd-boot-system-token.service since it's called as "best effort"
service after boot on various systems, and hence we shouldn't fail
loudly.
Similar, when we cannot find the ESP don't fail either, since there are
systems (arch install ISOs) that carry a boot loader capable of the
random seed logic but don't mount it after boot.
Fixes: #13603
Diffstat (limited to 'man/bootctl.xml')
-rw-r--r-- | man/bootctl.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/bootctl.xml b/man/bootctl.xml index fbd6574418..c038c4686d 100644 --- a/man/bootctl.xml +++ b/man/bootctl.xml @@ -183,6 +183,12 @@ <listitem><para>Do not touch the firmware's boot loader list stored in EFI variables.</para></listitem> </varlistentry> + <varlistentry> + <term><option>--graceful</option></term> + <listitem><para>Ignore failure when the EFI System Partition cannot be found, or when EFI variables + cannot be written. Currently only applies to random seed operations.</para></listitem> + </varlistentry> + <xi:include href="standard-options.xml" xpointer="no-pager"/> <xi:include href="standard-options.xml" xpointer="help"/> <xi:include href="standard-options.xml" xpointer="version"/> |