summaryrefslogtreecommitdiff
path: root/units/systemd-pcrphase.service.in
Commit message (Collapse)AuthorAgeFilesLines
* units: change assert to condition to skip running in initrd/osLuca Boccassi2023-02-091-1/+1
| | | | | | | These units are also present in the initrd, so instead of an assert, just use a condition so they are skipped where they need to be skipped. Fixes https://github.com/systemd/systemd/issues/26358
* pcrphase: gracefully exit if TPM2 support is incompleteLennart Poettering2022-12-151-2/+2
| | | | | | | | If everything points to the fact that TPM2 should work, but then the driver fails to initialize we should handle this gracefully and not cause failing services all over the place. Fixes: #25700
* pcrphase: add two additional phasesLennart Poettering2022-10-171-1/+1
| | | | | | | | | | | | | | | | | This adds two more phases to the PCR boot phase logic: "sysinit" + "final". The "sysinit" one is placed between sysinit.target and basic.target. It's good to have a milestone in this place, since this is after all file systems/LUKS volumes are in place (which sooner or later should result in measurements of their own) and before services are started (where we should be able to rely on them to be complete). This is particularly useful to make certain secrets available for mounting secondary file systems, but making them unavailable later. This breaks API in a way (as measurements during runtime will change), but given that the pcrphase stuff wasn't realeased yet should be OK.
* units: add pcrphase unitsLennart Poettering2022-09-221-0/+23