atlas
b807189692
swarm-logs-auth: run as a static user so nginx reaches its socket
...
With DynamicUser=true and RuntimeDirectoryPreserve=yes, systemd creates
the unit's runtime directory under /run/private/ (0700 root:root) and
symlinks /run/swarm-logs-auth to it (systemd.exec(5),
RuntimeDirectoryPreserve=). nginx runs as the unprivileged nginx user, so
its connect() to /run/swarm-logs-auth/auth.sock failed with EACCES, the
auth subrequest ended in a 502, and auth_request answered every agent
bearer on /select/logsql/ with a 500.
The unit now runs as a static swarm-logs-auth system user and group, the
shape swarm-controller already uses for its 0751 + Preserve socket dir.
RestrictSUIDSGID and RemoveIPC, which DynamicUser implied and the unit
did not set itself, are set explicitly.
module-eval-core-toggle gains a case that fails when any unit creating
the runtime directory of a unix: upstream of nginx combines DynamicUser
with RuntimeDirectoryPreserve. docs/process/gotchas.md records the trap.
Fixes #5235
2026-10-14 17:55:28 +02:00
..
agent-forge-bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-github-bao.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-icon.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-matrix.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-memory.nix
subagent, bash: run each subagent run and bash task in its own cgroup
2026-10-13 12:25:27 +02:00
agent-otel.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-plugins.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-queue-bao.nix
module-eval: restore agentWith in agent-queue-bao.nix
2026-10-13 14:56:25 +02:00
agent-runtime.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-user.nix
module-eval: agent-user test asserts the heal_own_dir form
2026-10-09 11:30:30 +02:00
bao-basics.nix
swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare
2026-10-13 17:00:56 +02:00
bao-controller.nix
swarmctl: on a controller host, trust the swarm's root without SWARMCTL_CA_FILE
2026-10-14 12:49:16 +02:00
bao-grants.nix
review classifier: run on ACP when the swarm settings choose it
2026-10-14 10:14:36 +02:00
bao-matrix-reader.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
bao-otel-collector.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
builder.nix
swarm-builder: scope the forge token to the forge, one build at a time, opt-in
2026-10-14 03:30:46 +02:00
core-toggle.nix
swarm-logs-auth: run as a static user so nginx reaches its socket
2026-10-14 17:55:28 +02:00
forge-placement.nix
swarm-otel: authelia is no longer declared as both a loopback and a published scrape target
2026-10-14 10:28:48 +02:00
grafana.nix
glue: otel scrape targets for authelia, grafana and nats move out of the services
2026-10-14 01:40:40 +02:00
hive-otel.nix
hive otel: keep file_storage defined when the collector authenticates upstream
2026-10-14 10:13:58 +02:00
hive-tls.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
journald-severity.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
lib.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
matrix-core.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
name-guards.nix
swarm: refuse swarm.hives keys that are not valid hive identifiers
2026-10-12 21:45:50 +02:00
nats-authelia.nix
glue: otel scrape targets for authelia, grafana and nats move out of the services
2026-10-14 01:40:40 +02:00
nats-tls.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
secret-publisher.nix
glue: the secret publisher's authelia-dependent settings move out of the publisher module
2026-10-14 01:52:53 +02:00
shared.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
swarm-otel-core.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
swarm-otel-identity.nix
swarm-otel: scrape VictoriaLogs through its published name
2026-10-14 14:45:31 +02:00
swarm-services-switch.nix
swarm-builder: scope the forge token to the forge, one build at a time, opt-in
2026-10-14 03:30:46 +02:00