[systemd-devel] Automatic boot assessment -- Overwriting behaviour

gmgod at pm.me gmgod at pm.me
Thu Sep 22 16:04:49 UTC 2022


Dear list,

This is describing how boot counting is implemented in sd-boot:

https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT



Consider a machine with boot configurations like this:

$EFI/loader/entries/default+1.conf
$EFI/loader/entries/default.conf



Questions:

1. Will the boot-counted entry be loaded before the already-"good" one?
2. If so, will `systemd-bless-boot` move`default+1.conf` onto `default.conf` (thus overwriting it)?


If both answers are "yes", would it be possible to mention it in the specs so that it is formally defined and unlikely to break in the future?

Best,
Gaël
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20220922/190beaff/attachment.sig>


More information about the systemd-devel mailing list