fix: address container-hardening verify findings

Loki gets a /tmp tmpfs for its retention marks (the compactor failed on
the read-only root), hardening_check reads each container's log since
start for write errors, the fast test covers override mounts and the
driver and bench overrides, s3-bootstrap /data is narrowed to its user,
spec wording and docs are corrected, Tempo's exit 137 on stop is recorded
as a known issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 06:30:11 +03:00
co-authored by Claude Opus 5.5
parent 8fc5bbf9f3
commit 273d7ce1d8
15 changed files with 513 additions and 76 deletions
+4 -2
View File
@@ -321,8 +321,10 @@ bao_check:
# no-new-privileges, seccomp, корень только на чтение, tmpfs, пользователь,
# лимиты CPU / памяти / процессов, монтирования, порты), процессы и слушатели
# пробой в пространствах контейнера, отказ записи в корень контейнеров
# приложения, предел процессов разовым контейнером worker. Коды 0 / 1 / 2
# (стенда нет). REPORT=1 — те же сведения без вердикта (стенд до change)
# приложения, журнал каждого контейнера без ошибок записи, предел процессов
# разовым контейнером worker. Коды драйвера 0 / 1 / 2 (стенда нет), make —
# 0 или ненулевой, как у соседних целей. REPORT=1 — те же сведения без
# вердикта (стенд до change)
.PHONY: hardening_check
hardening_check:
$(PYTHON) .claude/skills/run-mtusi-messenger/driver.py --ca-file "$(CA_FILE)" --port $(HTTPS_OUT_PORT) hardening-check$(if $(filter 1,$(REPORT)), --report)