The signers publisher is started by a systemd path unit. systemd holds no watch on the inputs while the service runs and does not detect the replacement of an existing file when the service finishes. The publisher rereads its inputs until a reading matches what it published, so the remaining window is between its last reading and its exit. A change in that window (a revoked approval or signing key, or a new root on the instance's main) is not published until something else starts the publisher. A run that fails on a reread, or reaches its round bound, fails visibly and is not retried. The publication informs clients and authorizes nothing; a gate reads the host's own files. The effect is a client that shows a revoked key as valid until the next run. Accepted as a stated limit for the approvals slice. Wanted: a wake that cannot be lost, for every host service woken by a path unit, not only this one. Candidates: a persistent watcher that arms before reading; a marker file each writer leaves, checked level-triggered when the service exits. This belongs with the events design (ida-14d2a61). No recovery timer was added.
No comments.