Empty /var/tmp on shutdown and reboot #28
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.44) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 252 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.331
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #28"
general
weight: 0.35
ericcurtin
/tmpis/var/tmpon disk (#27), so unlike a tmpfs it survives a reboot. This addsagenticlinux-clean-var-tmp.service, whoseExecStopempties it.systemd-tmpfiles --remove, notfindorrm -rf /var/tmp/*. From a plain unit those run as SELinux'sinit_t, which has no rule to remove symlinks (or fifos inuser_tmp_t) in/tmp.find -xdevalso follows a same-filesystem bind mount into its source (Copilot's review, reproduced: the old command emptied the mount's source, the new unit leaves it alone).Before=sysinit.targetplus the bootguard arm and finalizer units, so it stops after everything that uses/tmp.bootcwrites there at shutdown.usr/lib/agenticlinux/clean-var-tmp.conf, nottmpfiles.d, which is also read at boot and could empty/tmpunder a unit already using it.Main's failing builds
The aarch64
baseandswaysmoke tests failed with everyopenclawturn timing out. The model's first call was thecomputertool (key OK). It needs a Gateway thatagent --localdoes not start, so it errored the same way for 30 minutes, three attempts running. The smoke test now seedstools.deny: ["group:nodes"](nodes,computer,mobile_ui), which onboarding keeps.Testing
Fedora 44 container, systemd 259 as PID 1: a real
poweroffran after two slow-stopping stand-ins for an ordinary service and the arm step, which still saw their files, then/var/tmpwas empty at mode 1777.openclaw2026.10.5 validates the config, onboarding keeps it, and 12 turns completed with and without it.Not tested: the loop itself (it did not reproduce locally), the qemu smoke test, and SELinux enforcement (checked against Fedora's policy with
sesearch).Buildruns only onmain.Cleanup is skipped after a crash or power loss, and the default 90s stop timeout cuts a huge
/var/tmpshort.