fix lane: run-account checks and kills that hold on Ubuntu 26.04 #26
All Vouch review confidence checks passed
Residual risk 0.41 = Change Risk (0.74) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.74 · 337 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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
Diff Size
diff_size
0.348
Shallow Review Depth
shallow_review_depth
0.344
Wip Merged
wip_merged
0.150
No Reviewer Assigned
no_reviewer_assigned
0.120
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #26"
general
weight: 0.35
askalf
Why
ubuntu-latestbecomes Ubuntu 26.04 from 2026-10-19 (actions/runner-images#14748). 26.04 replaces GNU coreutils with uutils (0.10.0) andsudowith sudo-rs (0.2.13). A probe run of this repo's CI onubuntu-26.04failed therun-accountjob, and two problems turned up in the fix lane's run-account handling. Both also matter for any exec host that moves to 26.04, because a guard that answers wrong there is a security problem.1.
/usr/bin/testignores ACLs. uutils'testreads the mode bits only. The probe made a mode-0700 directory and a 0600 file, then gave a second account access through ACL entries:/usr/bin/test -wand/usr/bin/test -rsaid no to both.Four guards run
testas the run account:.gitnot writable: an ACL that opened any of these to the run account would read as closed, so the guard would pass.2.
kill -KILL -1sends nothing under sudo-rs. procps'/usr/bin/kill(4.0.4 on both images), run through sudo-rs, fails withfailed to parse argument: '(null)'before it signals anything. The probe started twosleeps as the account:/usr/bin/kill -KILL -1left both running.In
settle()this meant a command's processes outlived it. A detached chain hopping to new PIDs was still writing after the run, because between hopspscan see none.Fix
testthroughrunCan(flag, path), which callsfaccessatand so asks the kernel. bash is not replaced on 26.04.settle()uses bash's builtinkill, which callskill(2)itself.- bash's
test -r/-whonour the ACL.- bash's
kill -KILL -1stops the account's processes.fix.test.mjsunderstands the new forms.kill -1now look for the new form. Without that change they would pass whether or not the kill was sent.Tests
fix.test.mjs331 pass, and 341 withREDLINE_TEST_RUN_AS, as root and as a non-root exec account.ubuntu-26.04(the probe branch with this change): the real run-account tests pass 340 of 341. The one failure is the probe's own label change.