After bring-up
A host that meets every check in Startup checks can still refuse to
start, or start and refuse tokens. Each refusal below is a line in
journalctl -u lota-agent; the order of the checks and the exit
statuses are in Agent, and the other lines of the
journal in Agent journal.
Fixed in the same boot
These refusals come before the daemon extends PCR 14, so a start after the fix brings the host up without a reboot. The daemon exits 78 and the unit stays failed (Agent lifecycle).
Kernel anti-tamper prerequisites are not satisfiedLockdown, module signatures or the label of the TPM device; the lines before it name which (Startup checks).
BPF object signature verification failed forPATHThe object and the key the daemon reads do not belong together. The package's
/usr/lib/lota/enforcement.pubmatches the package's object, so a key earlier in the lookup,/etc/lota/policy.pubor the onepolicy_pubkeynames, did not sign it. Sign the object with that key, or move the key aside (Manual steps). Apolicy_pubkeynaming a file that does not read does not cause this: the daemon takes the next key in the lookup.Cannot trust libPATH orCannot measure fs-verity pathPATHA
--trust-libor--allow-veritypath the daemon cannot open. The unit runs withProtectSystem=strict, a private/tmpand/homeand/rootout of reach, so a path a shell sees there does not exist for the daemon.Startup policy refused before the boot commitment was spentfollows.No process is running under PIDN, so there is nothing to protectA
--protect-pidorprotect_pidentry names no running process. The daemon reads the list at start and again onSIGHUP; a process that starts later protects itself withlota_protect_self().The attestation key at 0xHANDLEhas no recordThe TPM holds the AIK and
aik_meta.datis gone, from/var/lib/lotaor from the publisher's profile. Restore it and the authorization file the line names from a backup, or runlota-agent --reprovision-aik(TPM).This publisher's attestation key was created before each publisherThe publisher's key is the one every publisher of the host holds. Run
lota-agent --reenroll --publisher ID; the CA certifies the new key under the host's device ID. The attestation loop logs the same line and attempts no round for that publisher meanwhile.
Fixed by a cold reboot
These refusals read PCR 14, which nothing resets while the host is up (Agent lifecycle). The daemon exits 78.
The agent is paused on this hostA shutdown requested here,
lota-agent --shutdown,lota-install --pauseorsystemctl stop lota-agent, spent the commitment. Reboot.This is not the lota-agent build PCR 14 committed to when the host bootedThe binary changed since the boot, as after an upgrade, or a second build runs by hand. Reboot into the installed build (Agent updates).
PCR 14 never received the initramfs lock this bootThe initramfs did not carry
lota-pcr14-lock. Rebuild it ("Initramfs lock" in Manual steps) and cold reboot.The initramfs baseline handoff on /run is not the one/run/lota/pcr14_baselinewas replaced after the initramfs wrote it. Reboot. When the refusal comes back, something extended PCR 14 and rewrote/var/lib/lota/clock_state.datto match; find what writes to/run/lotaand/var/lib/lota.PCR14 boot-commitment refusedA line prefixed
SECURITY:before it names the case. For an unexpected value, or one that changed before or after the agent's extend, something outside the agent extended PCR 14: cold reboot, and find what opened/dev/tpmrm0. For aresetCountbelow the one recorded, the TPM or/var/lib/lota/clock_state.datwas rolled back.
Refused tokens
Refusing GET_TOKEN for pid=PID: no TPM on this agentThe server holds no TPM context, as under
lota-agent --test-ipc. The client getsLOTA_ERR_NO_TPMeach round;--test-signedserves signed tokens (Command line).
A refusal is written when the connection's answer changes, so a quiet journal after one means it still stands (Agent journal).