diff options
| author | tv <tv@krebsco.de> | 2026-12-01 06:11:56 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 06:11:56 +0000 |
| commit | 7cb8b752619f17fd29be1b5496ced107d41e79e9 (patch) | |
| tree | 46907416ed5fa40291f189cbc82f116293fdc98f /docs/design.md | |
| parent | 60da3a663ed070c1e6c5d2a1b171e316a0395bbd (diff) | |
docs: a submission goes into the incoming directory whole
Names starting with a dot are skipped there, so a provider copies a
submission under one and renames it within the incoming directory: a
receptor looking at it meanwhile (enstate.service, a check) never sees
half a submission. Said in the design, the module's incomingDir, the
store; and a test that a dot name is left alone.
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/design.md b/docs/design.md index 301659a..054b824 100644 --- a/docs/design.md +++ b/docs/design.md @@ -403,7 +403,9 @@ run commands, but on the provider's side, before there is a submission.) they can be encrypted to the host's key. - Submissions may wait in an incoming directory for the next switch (section 6); those the switch refuses are moved aside, so the next - switch doesn't trip over them again. + switch doesn't trip over them again. Names starting with a dot are + skipped, so that a provider can put a submission in place whole: copy + it under a dot name, then rename it, within the incoming directory. - At boot and on each apply, the receptor materializes the views under `/run` (memory): secret ones readable by root only and handed to services as systemd credentials; public ones readable by everyone. |
