Repository navigation
fix: let sudo openclaw update finish from older updaters on service-account installs - #207873
fuller-stack-dev wants to merge 15 commits into
Conversation
…dater exits Published updaters (2026.9.7 through 2026.12.1-beta.1) refused a root npm install whose system unit runs as another account, because the old Gateway restarts onto the new package while the updater still holds its rollback. Candidate admission now schedules one transient root unit that holds the unit with a runtime Restart=no drop-in until the updater exits, then restarts it; Doctor and post-core do no state work as root.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
The 2026.11.10 updater checks Gateway health as root right after its Doctor step. When the old Gateway's observer had not exited it yet, the probe met a live old Gateway, failed authentication and rolled back. The waiter now stops the unit as soon as the package is replaced, and a held run's Doctor stops it synchronously before returning.
The 2026.11.10 updater requires its own state to reach the candidate's
schema after Doctor ("expected schema 42, found 40"). A held run now only
stops the unit before Doctor; Doctor and post-core run on root's own state
as before and never open the service's state.
A unit with RefuseManualStop=yes also refuses restart jobs, so after a rolled-back update the waiter left it stopped. It now starts a stopped unit and restarts only an active one, and logs both results.
The waiter now checks the Gateway unit two minutes after it starts or restarts it and logs the result to its journal, at error priority when the unit is not active; the admission warning names that journal. A failed systemd-run also stops a waiter it may have started. A service runtime's --version output reaches the refusal text only when it looks like a version.
Review findings on the restart hold: - Compare the update's effective state and config directories with the service's, through the state and config path owners, so OPENCLAW_HOME on either side cannot slip past the overlap check. - Name the drop-in per run, so a waiter that is still reporting the restart never removes a retry's hold. - Refuse units with RefuseManualStart=yes, which the waiter could stop but not start again. - Refuse --no-restart instead of starting the unit anyway. - Bound the waiter's systemctl calls and tolerate a missing systemctl. - Refuse when the candidate declares no Node engine. - Pass the waiter fixture the build hash, not the new settle argument.
|
Raw logs for the cells that ran on earlier heads ( c1: driver 2026.11.10c2: driver 2026.11.11c3: driver 2026.12.1-beta.1c4: new Gateway refuses to startc5: updater interrupted before the swapc6: held Doctor's stop refused (RefuseManualStop=yes)c7: --no-restartc8: site drop-in keeps Restart=alwaysc9: updater tree SIGKILLed after the swapGate A raw log (epoch, event, unit Restart / MainPID / NRestarts / state, package, schemas, /healthz) |
|
Update-path review: please don't land this. I'd suggest closing it. Thanks for flagging it as needing a decision. Here's the decision, and it's recorded in #204775 ("Rules for changes in this area"):
What would help instead, and is welcome:
|
|
Read, along with the rules section on #204775. This will not land, and work on it has stopped. A third review round, on a reworked head that was never pushed, found the same two classes again:
Three rounds finding the same classes in root-run code is its own answer, separate from rules 2, 3 and 7. Your suggestion is being done as a separate PR: the #206343 refusal prints the exact command for this layout, with the detected unit name and the target version, plus a test. Its proof is a cell per published driver (2026.11.10 and 2026.11.12) that pastes the printed command after the refusal and checks the Gateway serves the new version under the service account. It will be linked here. Two corrections to what I wrote on #204775 for this PR:
|
|
Outcome of the exact-command suggestion above:
The docs commit does not apply cleanly to |
|
Thanks for the follow-up. #208629's measurements are exactly what the manual procedure needed. Since #208376 closed on purpose and the docs now carry what it proved, nothing here still needs to land, so I'd suggest closing this PR. Package-only updates (#207304) cover later hops, and the refusal plus the corrected manual procedure covers the first hop from an already-published updater. |
Related: #204775
Follows: #206343, #207304
What Problem This Solves
A common Linux layout has a root-owned global npm install and a systemd system unit that runs the Gateway as a service account (
User=openclaw).sudo openclaw updatethere is driven by the installed updater. When that updater is an already-published release, the new release's admission refuses before the package swap (service-account-mismatch) and points to a manual procedure (#206343). #207304 fixes later hops, but every install that upgrades from a published release still hits the manual procedure once.The published updater cannot be patched. After it swaps the package, the old Gateway's stale-install observer can restart the unit onto the new package within seconds, because it cannot see root's per-account update lease. Meanwhile the updater still holds the old package for rollback. A rollback after that point would put the old package over state the new Gateway already migrated.
User Impact
With a 2026.11.10, 2026.11.11 or 2026.11.12 updater (proven below),
sudo openclaw update --yeson this layout now finishes by itself:runuser -u <account> -- <runtime> --version. It then schedules one transient root unit that holds the Gateway unit down (Restart=no, emptyRestartForceExitStatus=) until the updater process exits.startif it is stopped,restartif it is running a replaced package. If the update failed before the swap, it only removes the hold. The unit's own boot asUser=migrates the service's state.systemctl status <unit>,journalctl -u <unit>) and that the hold's own journal records, 120 s later, whether the unit is active. A unit that is not active then is logged at error priority.The service does not serve from the package replacement until the updater exits and the new Gateway is up. That was 87–157 s in the passing cells below. These are coarse numbers: another lane's container ran on the same Docker host during most of the cells, under
--memory 4g --cpus 4.Still refused, with the documented manual procedure and the old Gateway left serving:
--no-restartis passed: the old Gateway restarts itself onto a replaced package, so the flag cannot be kept. The refusal says to run without it.OPENCLAW_STATE_DIR,OPENCLAW_CONFIG_PATH,OPENCLAW_HOME, profile).EnvironmentFile=.User=does not resolve.runuser.RefuseManualStart=yes.Restart=or aRestartForceExitStatus=.Not reachable from the candidate: 2026.12.1-beta.1 (cell 3) and, by the same code, 2026.12.1-beta.2. That updater does not call the candidate's
update admit. It runs its own release-update path (stageReleaseService→readSystemdServiceExecStart), which throws on this unit before anything changes. The fix for that hop belongs to the update path itself; see "Not proven".Why This Change Was Made
A published updater runs three pieces of candidate code around the swap:
update admitbefore it, then theupdate-migrated-finalize.worker.js --doctorand post-core children after it. The bridge is one module (src/cli/update-cli/update-command-restart-hold.ts) with two call sites.update admitacts only when fix: update system service packages without root state changes #207304's identification finds a system unit that runs this package as a non-rootUser=, and the process is root. It runs the state-free probe, thensystemd-run --unit=openclaw-update-hold-<run>.service --collect --setenv=HELD_UNIT=<unit>.ExecStopPost=removes the drop-in and reloads systemd./run/systemd/system/<unit>.d/zz-openclaw-update-hold-<run>.confand reloads, so the drop-in cannot exist without the unit that removes it. The name is per run, so one run's cleanup never removes another run's hold.systemctl showto list that drop-in, with effectiveRestart=no, no forced exit statuses andRefuseManualStartnotyes. Otherwise, and also whensystemd-runitself fails, it stops the transient unit, removes the drop-in, reloads, and refuses.--doctor: when this run's hold unit is active, it stops the held unit synchronously, then runs the normal Doctor. If the stop fails, the Doctor fails, the updater rolls back, and the waiter starts the unit again once the updater exits.Root still runs its own Doctor and post-core. The published updater checks after Doctor that its own state (
/root/.openclaw, which it created itself) reached the candidate's schema. Skipping root's Doctor failed every run with "Shared state migration did not finish: expected schema 42, found 40" (observed on the head befored315284). Root's Doctor and post-core never open the service's state.The waiter runs
node -e <constant script>with root-derived arguments:supervisor.pid, pinned by its/procstart time.dist/build-info.jsonhash changes.systemctlcalls are bounded at 300 s each.At a deadline while the updater is still alive: the transient unit has no deadline of its own. It keeps waiting and logs every 10 minutes:
systemctl stop openclaw-update-hold-<run>.serviceremoves the drop-in throughExecStopPost=without a restart.Host reboot mid-run:
/runis cleared, so the drop-in and the transient unit are gone. The unit starts at boot as usual, on whatever package the interrupted updater left.Size. 347 added production lines (295 in the module, 340 net) against a 150–180 target. After the review fixes I looked once for code the final design no longer needs. Removing the
--no-restarthold branch was the only candidate, and it is gone. Where the rest goes:src/update/cli-system-service.tskeeps it inline and that file belongs to the update-path owner. A sharedprobeServiceAccountRuntimethere would remove about 35 lines here.What runs as root, and on which state
The installed updater runs as root and performs its own steps (package install, staging, swap, database snapshot of root's own state, rollback, run record and report in
/root/.openclaw). This PR cannot change those. The candidate code it calls, in order (line numbers atde89a492c89):update admit, before the swap (update-command-admit.ts:126→update-command-admit-service-account.ts:37→update-command-restart-hold.ts:81). It reads the selected unit and its effective environment through systemd, includingEnvironmentFile=(:116); NSS forUser=(:128); the effective state and config directories on both sides through the state and config path owners (:138); the root-ownedrunuser(:149); and the package'sdist/build-info.json(:179). It runs the unit's runtime--versionas the account (:158), thensystemd-run(:189), thensystemctl showon the unit (:216). On any failure aftersystemd-run, includingsystemd-runitself failing, it stops its own transient unit, removes the drop-in and reloads (:252). It opens no OpenClaw state, root's or the service's.openclaw-update-hold-<run>.service(script at:37). It writes/run/systemd/system/<unit>.d/zz-openclaw-update-hold-<run>.conf(:45) and reloads; it stops the unit when the package hash changes (:53); after the updater exits it removes the drop-in, reloads, and starts or restarts the unit (:57–:63); 120 s later it logs whether the unit is active (:66).ExecStopPost=removes the drop-in and reloads on every exit (:196–:198). It reads only/proc/<updater>/statandbuild-info.json.--doctor(update-migrated-finalize.worker.ts:437). It first stops the held unit (update-command-restart-hold.ts:283,systemctl stopat:298), then runs the normal Doctor on root's own state. Root's Doctor is unchanged by this PR; the installed updater requires it (it checks root's own schema afterwards).1. What can a hostile or compromised service account make the root-run steps do?
Nothing beyond refusing the hold or breaking its own Gateway. Input by input:
^[A-Za-z0-9_.@:-]+\.service$(:28), so it has no/, space,$or%, and cannot traverse out of/run/systemd/system/<unit>.d/. Only an administrator can place or link a system unit; an account that can edit its own unit file already controls what root's systemd starts at the next boot.User=. Passed only togetent passwdand, after NSS confirms it (name or uid match,:128), as the account forrunuser -u <account> --(:158). Root and0refuse (:96).EnvironmentFile=andEnvironment=. Parsed by the existing root reader as data. The values are used only to resolve the service's state and config directories for the overlap check (:138). None of them reaches a root command line, a root-written path or the transient unit. A crafted value can only make the overlap check refuse.realpath. A symlinked home can only make the check refuse.--versionoutput. The account controls the binary ifExecStart=points into its home. It runs as the account withPATHonly and no unit environment (:158). Its output reaches root's terminal only if it matches^v?[\w.+-]{1,40}$, so it cannot inject terminal escapes into the refusal text./run/systemd/system, which only root can write.supervisor.pid(:105), and is pinned by its/procstart time. The account cannot choose root's PIDs.systemd-rungives it the manager's environment plusHELD_UNIT=<unit>(:192); nothing from the caller or the account is passed. Every argument matches[A-Za-z0-9_./@:+-]and the script has no$or%, so systemd expands nothing (asserted by the first admission test).2. TOCTOU between identification, scheduling, the drop-in and the restart
DropInPaths,Restart=no, no forced statuses andRefuseManualStartnotyes(:216–:239). A unit changed later (root only) is stopped and started by name, the same way systemd would at boot./run/systemd/systemand its subdirectories are root-only, so no non-root account can swap them.:41). If the updater exits before the waiter starts, the waiter refuses to hold and exits 1 (:43); admission then sees no drop-in and an inactive hold, cleans up and refuses. A recycled PID never extends the hold (Linux test "holds nothing for a recycled updater PID").:94), so the earlier waiter'sExecStopPost=removes only its own file.3. What root's Doctor does on root's own, near-empty state
From cell 10 (driver 2026.11.12) on
de89a492c89, comparing full listings of/etc,/run/systemd,/rootand the service home before and after the update (path, type, owner, mode, size, mtime):/etc: no change at all. No unit file or drop-in was installed or edited under/etc/systemd.systemctl list-unit-files 'openclaw*'shows onlyopenclaw-gateway.servicebefore and at the end, and the hold's transient unit while it ran. No user unit exists for root or for the account (~/.config/systemd/useris absent on both, before and after)./run/systemd: only the hold. The run-specific drop-inzz-openclaw-update-hold-<run>.confand the transient unit appeared, plus systemd's own journal-stream and invocation entries. Both were gone at the end./root: root's own state only./root/.openclaw(state database at schema 42, completions, plugin skills, client, control, logs, tmp, session migration runs), the updater's own/root/.openclaw.update-captures/<run>, and/root/.cache/openclaw. (/root/.config/asciinemais the cell's recorder.)openclawbefore, after and at the end. Every change during the update has an mtime at or before 12:00:33, the moment the waiter stopped the old Gateway (the old Gateway's own log, seal and lock files). The only later mtimes are the database-shm/-walfiles at 12:01:51. That is the cell's own read-onlysqlite3 … pragma user_versionin itsschemas afterstep, the same second as the snapshot. The service's schemas stayed at 40/42 until its own boot migrated them to 42/45./etc; under/run/systemd/systemonly the hold's per-run drop-in; root's changes only under/root/.openclaw,/root/.openclaw.update-captures,/root/.cacheand the recorder's/root/.config; every service-home entry owned byopenclaw.Stoppedat 12:00:33. The process sampler first shows the root--doctorworker at 12:00:33.7 and thedoctor --lintchild at 12:01:08. The unit's nextStartedis 12:01:52, after the updater exited. Norunuseror account switch came from Doctor.4. Is the user told when the new Gateway does not come back?
The command has exited by the time the waiter restarts the unit, so it cannot print the result. Smallest truthful change, in this PR: the admission warning says the command does not verify the restart and names the hold's journal (
journalctl -u openclaw-update-hold-<run>.service). 120 s after the start or restart, the waiter logs<unit> is active 120 s after the update.or, at journal error priority,<unit> is <state>, not active, 120 s after the update. Check: journalctl -u <unit>(:66). It does not block or roll back. Cell 10 onde89a492c89shows the success line. Cell 4′ on the same head shows the error line; the journal prints it without the<3>, which journald consumed as the priority (see Evidence).5. Exit paths: can any leave the unit stopped with
Restart=noin place?start/restart, settle checkExecStopPost=removes the drop-in and reloads; no startExecStopPost=at:196ExecStopPost=still runs: drop-in removed, reload. If the unit was already stopped at the swap it stays stopped withRestart=restored; see "Not proven"/runis cleared: no drop-in, no transient unit; the unit starts at bootsystemd-runfails or times outRestart=always, forced status,RefuseManualStart=yes)daemon-reloadfails in the waiter at hold time:216daemon-reloadfails at releaseRestart=noloaded; the unit is still started;ExecStopPost=reloads againsystemctlhangs:40); a missingsystemctlis logged, not thrownsystemctlonPATHsystemd-runNo path leaves
Restart=noin place with the unit stopped. One path can leave the unit stopped with its normalRestart=restored: the waiter itself dying after it stopped the unit at the swap.Update behavior
The installed updater runs first and cannot be patched. This change reaches published updaters only through the candidate entry points they already call:
update admit(protocol 1, withsupervisor.pidandrun.id) and the--doctorchild. The marker shared by both is the run's transient unit,openclaw-update-hold-<run.id>.service, which only root can create. A hop driven bymainnever callsupdate admit; it uses #207304's path and is unchanged.Removal plan: delete the module and its two call sites once the oldest supported first hop is a release that contains #207304.
Evidence
Each cell ran in Linux Docker with systemd as PID 1, under
--memory 4g --cpus 4:User=openclawwith state in/var/lib/openclaw/.openclaw, seeded by that updater's Gateway (state 40, agent 42);latestby a local registry;/healthzprobe and a process sampler for the whole run;Red is
origin/mainbc3700e98(2026.11.10 driver). Green is the current headde89a492c89for cells 10 and 4′,b969edcaea8for cells 1 and 6, andbcc3ab2ee86for the rest. Rows on earlier heads are evidence for those heads only (see "Not proven").openclawservice-account-mismatch+ manual procedurebcc3ab2ee86)startfails; systemd keeps retrying under the restoredRestart=alwaysRefuseManualStop=yes)bcc3ab2ee86: 1 in 1,104 s; updater kept the new package withrollback-state-unverified, waiter started it, 42/45)--no-restart(bcc3ab2ee86; onde89a492c89this now refuses before the swap)--no-restartbehaviorRestart=alwaysde89a492c89latest)de89a492c89startfails; 120 s later the hold journal logs, at error priority, "openclaw-gateway.service is activating, not active, 120 s after the update.""Not owned" counts entries under the service home not owned by
openclaw:openclaw, before, after and at the end of each cell. "Bridge leftovers" covers OpenClaw drop-ins andopenclaw-update-hold-*units at the end. Cell 3 ran with an earlier pack (fb9ec4a7458); its result does not depend on candidate code.Recordings (terminal, 2× speed, idle capped):
bcc3ab2ee86: https://github.com/user-attachments/assets/3cfaaf1e-9387-4d0c-81ad-94d03e4bbc61)bcc3ab2ee86: https://github.com/user-attachments/assets/4485ffc9-1589-46ae-99a9-938c022a967b)de89a492c89, driver 2026.11.12): https://github.com/user-attachments/assets/f821a031-04c8-4a54-8f0d-d0944352b522de89a492c89): https://github.com/user-attachments/assets/cd8de4d8-7e85-4919-9c8f-4991f9e86abcRaw logs for cells 1–9 on
bcc3ab2ee86, cell 3 and the Gate A prototype are in this comment; the blocks below cover the current head,b969edcaea8and red.c10 on de89a49: driver 2026.11.12
c4 on de89a49: new Gateway refuses to start (settle check at error priority)
c1 on b969edc: driver 2026.11.10
c6 on b969edc: held Doctor's stop refused; updater rolls back
Red: origin/main bc3700e as 2026.12.2, driver 2026.11.10
What the cells found along the way. Each item was fixed in this branch unless noted.
91bc8ad): the 2026.11.10 updater probed Gateway health as root right after its Doctor step. When the old Gateway had not exited yet, the probe was rejected for missing authentication and the updater rolled back. Fixed by stopping the held unit on swap and in the held Doctor.d315284): the same updater requires its own state at the candidate's schema after Doctor, so root's Doctor has to run on root's own state (see above).c4ba2ca, found by review):RestartForceExitStatus=overridesRestart=no. The hold now clears it and admission verifies it.RefuseManualStop=yes(bcc3ab2): on the previous head, cell 6 rolled the package back to 2026.11.10, and the waiter'srestartwas refused for this unit, leaving it stopped. The waiter nowstarts a stopped unit andrestarts only a running one. Onb969edcaea8, cell 6 rolled back again and the unit came back on 2026.11.10 with unmigrated state.doctor-processes-unsettled). Editing the swapped package breaks the updater's own rollback verification. So cell 6 fails the step through the unit's configuration instead.Gate A (shell prototype of the hold against the real 2026.11.10 updater, before production code). Candidate
main4b78b6829f7as 2026.11.13. A throwaway script installed the hold when the updater startedupdate admitand froze the updater at the swap:/healthzabout 11 s after the updater exited. No drop-in and no transient unit were left.state-migrated-no-rollback), and the other injections broke rollback as described above. Cells 6 and 9 cover the after-swap failures with the real bridge.Tests on
de89a492c89.src/cli/update-cli/update-command-admit.service-account.test.ts(whole file audited again). Admission runs through the realupdateAdmitCommandentry; systemd, NSS,runuserand procfs answers are faked at their boundaries. Cases:$or%reaches systemd, and that the warning names the hold's journal;b969edcaea8:--no-restart, and both sides'OPENCLAW_HOMEresolving to a service directory outside its passwd home;Restart=always,RefuseManualStart=yesand a forced restart status each refuse and clean up. Schedule failure now also stops a hold it may have started;systemctland a live process as the updater: it holds, stops on swap, restarts a running unit or starts a stopped one, and logs the settle check (at<3>error priority when the unit is not active). It releases without a restart when nothing changed, and holds nothing for a recycled PID.src/infra/update-migrated-finalize.worker.test.ts(whole file audited): stopped and stop-failed. A successful stop runs Doctor. A failed stop writes anerrorresult, exits 1, and runs neither Doctor nor the predecessor stop.--no-restartwording case is gone: that behavior is now a refusal row.OPENCLAW_STATE_DIRrefusal row is gone. The check now resolves every selector throughresolveStateDir/resolveConfigPath(tested by their owner), and theOPENCLAW_HOMEandOPENCLAW_CONFIG_PATHrows exercise the same overlap path.not-heldrow is gone, because every other case in that file runs with the hold absent and asserts that Doctor runs.systemctlcalls is gone, as an implementation mirror. The non-systemctlcommand list is still asserted.dropInLeftassertion for the recycled PID is gone: nosystemctlcall and exit 1 already prove nothing was held.b969edcaea8's module: 2 failed (the hold-journal warning, and schedule-failure cleanup).773d88aa353's module: 8 failed. Three are new behavior:--no-restart, theOPENCLAW_HOMEoverlap andRefuseManualStart=yes. The other five changed only in message text or because the drop-in is now per run.checks-node-changed-compact-small-11, job 141333682490, onde89a492c89), all four waiter cases passed. On773d88aa353one of them failed on the fixture bug the review also found (job 141325847225).systemctlonPATHlogs each failure without throwing.de89a492c89:node scripts/check-changed.mjs: everything for the changed files passes. The only failure is the dead-export scan, for exports in files this branch does not touch (src/agents/command/types.ts,src/plugins/native-module-require.ts, twoui/files).Earlier review (previous worker). Autoreview on the Codex route (
--max-priority P2 --thinking high, branch mode, with source context) ran eight passes up tob969edcaea8. Its two P2 findings were fixed: the Doctor reported success when the stop failed, andRestartForceExitStatus=overrode the hold.Base movement. The branch merged
origin/mainatd88223e2c35(7687b6b4c0f, no conflicts). Between the old merge base and that commit,mainchanged nothing in admission, the finalize worker, the systemd readers or anything the hold imports. In adjacent paths it changed the launcher exit-78 handling,preflight.ts's npm-missing message,run.ts's plugin-changed flag, plugin-record reloads and the host memory sampler insrc/process/child-memory.ts. None of these is on the hold's path, so no cell was rerun because of base movement.Independent review (local ClawSweeper)
Two rounds of
clawsweeper review --local-range(GPT 6.2 Sol through ClawRouter), each in a fresh output directory, againstd88223e2c35(theorigin/mainmerged into this branch). Both rated F/F/F, with a maintainer question open. The bar for handing this on is B with no open P2, so this PR is not ready: the second round found the same two classes of fault as the first, and I stopped point-fixing to ask for a design decision instead.Round 1, on
773d88aa353. Every finding was checked against source; all fixed inde89a492c89except where noted.OPENCLAW_HOME: the overlap check compared only two explicit selectors. Fixed: both sides now resolve throughresolveStateDir/resolveConfigPath. A red-first test covers it.ExecStopPost=. Fixed: the drop-in is now named per run.RefuseManualStart=yesunits could be stopped but not started again. Fixed: admission refuses them. A red-first test covers it.systemctlcalls in the waiter, and null output on spawn failure. Fixed: calls are bounded at 300 s and output is normalized, shown in a Linux run with nosystemctl.773d88aa353failed on that exact case.src/update/cli-system-service.ts. Not done: that file is owned by the update path and is outside this PR's scope. The divergence the review named is fixed: the hold now refuses when there is no Node engine.--no-restart: I took the recommended option.--no-restartnow refuses.Round 2, on
de89a492c89. Open; not fixed on this head:OPENCLAW_STATE_DIRor a--profileinExecStart=resolves against the candidate's cwd, not the unit'sWorkingDirectory=. The overlap check can then miss shared state. Same class as round 1's first P1: proving state separation by comparing paths.EnvironmentFile=read is unbounded and accepts non-regular files. This is in the shared readersrc/daemon/systemd-environment-files.ts:108.build-info.jsonreads as a swap, so the waiter would stop the unit at once. Valid, small.RefuseManualStop=yespasses admission and makes the update roll back (cell 6 shows the rollback recovering). Same class as round 1'sRefuseManualStart: unit properties that the hold cannot drive.update-command-admit.ts).--no-restartas holding.Not proven
EnvironmentFile=read; a missingbuild-info.json; starting a unit the operator had stopped;RefuseManualStop=yes; the legacy tree-limit ordering.ExecStopPost=removes the drop-in, but nothing starts the unit again.Restart=nois not left in place. Not run in a cell.convert-service.ts:26read inv2026.12.1-beta.2), and neither can a 2026.12.1 stable cut from that line. Updaters from 2026.9.7 through 2026.11.9 were read from code (the sameupdate admitand--doctorcontract), not run.de89a492c89: 1, 2, 5, 6, 7, 8 and 9 ran on earlier heads. Since then the waiter's release path has gained the settle check and bounded calls, the drop-in name is per run, and admission refuses--no-restartandRefuseManualStart=yes. So row 7 no longer describes this head (it now refuses), and the others are evidence for the earlier heads only.b969edcaea8and onfb9ec4a7458, but kept the new package onbcc3ab2ee86.openclaw update repair. The admission warning tells the reader they do not apply to the unit.EnvironmentFile=units, and no units withoutExecStopPost=support were run. Linux systemd only.