Skip to content

Converge the mtcollins1 unit-hold store root on srv1 (boot blocker) - #12341

Merged
gunbai-bot[bot] merged 1 commit into
mainfrom
session/bold-bear-75-unit-hold-dir
Sep 26, 2026
Merged

gunbai-bot[bot] merged 1 commit into
mainfrom
session/bold-bear-75-unit-hold-dir

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

mtcollins1 boot run 36233836765 refused: unit hold store unavailable — /var/lib/gunbc/unit-holds was never provisioned.

  • gunbc.runner_host_grants unit_hold_store_operations: one EnsureOwnedDirectory (owner/group = host job user, mode = executor_managed_directory_mode 755; the hold store publishes DefaultAccessCreateOnly, so no confidentiality requirement) appended to runner_host_wide_refused_operations, only when the spec's host is mtcollins1_unit_hold_store_host. That list already feeds both the rendered sudoers and fleet_converge_plan host_wide_grant_apply_lines, so grant and executed argv are one value.
  • provisioning/srv1/gunbc-ghrunner.sudoers: regenerated line (hand-applied to match rendering; the generated-artifact drift gate is the check).
  • Witness test.claim.unit_hold_store_provision_witness: srv1's apply lines contain the exact converge command; srv3's do not.

Apply route: fleet-converge mode=plan host=srv1 (FullHostPlan), then mode=apply of that plan. The srv1 sudoers file must be installed first (bootstrap principal) or the sudo line refuses.

The authorization-claims sibling was provisioned by an ssh install -d in approval_keyring_converge (not a converged grant); this follows the host-wide-grant route instead, per the brief.

🤖 Generated with Claude Code

…nsureOwnedDirectory

gunbc.machine_intake_mtcollins1_maintenance_hold unit_hold_store_root was never provisioned, so
mtcollins1_boot refused 'unit hold store unavailable'. runner_host_grants now adds a job-user-owned
EnsureOwnedDirectory for it to runner_host_wide_refused_operations on mtcollins1_unit_hold_store_host
only, so it enters both srv1's rendered sudoers and the full-host plan's apply script. Witness asserts
the converge command is in srv1's host-wide apply lines and absent from srv3's.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot added this pull request to the merge queue Sep 26, 2026
Merged via the queue into main with commit a9388e4 Sep 26, 2026
5 checks passed
@gunbai-bot
gunbai-bot Bot deleted the session/bold-bear-75-unit-hold-dir branch September 26, 2026 14:06
@briansrls
briansrls restored the session/bold-bear-75-unit-hold-dir branch September 26, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants