systemd-bless-boot.service, systemd-bless-boot - Mark current boot process as successful
systemd-bless-boot.service is a system service that marks the current boot process as successful. It's automatically pulled into the initial transaction when systemd-bless-boot-generator(8) detects that systemd-boot(7) style boot counting is used.
Internally, the service operates based on the LoaderBootCountPath EFI variable (of the vendor UUID 4a67b082-0a4c-41cf-b6c7-440b29bb8c4), which is passed from the boot loader to the OS. It contains a file system path (relative to the EFI system partition) of the Boot Loader Specification compliant boot loader entry file or unified kernel image file that was used to boot up the system. systemd-bless-boot.service removes the two 'tries done' and 'tries left' numeric boot counters from the filename, which indicates to future invocations of the boot loader that the entry has completed booting successfully at least once. (This service will hence rename the boot loader entry file or unified kernel image file on the first successful boot.)
The /lib/systemd/system-bless-boot executable may also be invoked from the command line, taking one of the following command arguments:
This command is implied if no command argument is specified.
- Boot Loader Specification