Skip to content

feat(snow-lifecycle): sysext probe mode; notesd/maild dev run (T377a) - #163

Merged
bketelsen merged 5 commits into
mainfrom
murbella/snow-sysext-probe
Oct 28, 2026
Merged

bketelsen merged 5 commits into
mainfrom
murbella/snow-sysext-probe

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Day line 4 (T377a): a lab dev run of the notesd and maild suite sysexts (snosi#1169) on an installed Snow.

Result

dev-snow-bootc-lifecycle-kb7qb (this branch at a64bab40, minideb, 2026-10-28 15:59–16:13Z): FAILED in the enable boot, PASS after the reboot. The record is in docs/plans/2026-10-28-snow-sysext-probe-run.md.

  • updex features enable notesd|maild --now: rc 0. Both sysexts are merged on /usr and linked (*_0.2.0_13_x86-64.raw).
  • frostmail-secrets-key.service made /etc/credstore.encrypted/frostmail-secrets-key at first start (0600, 1418 bytes). After the reboot it is skipped (ConditionResult=no) and the file is unchanged.
  • Enable boot: the sysusers accounts are missing. The sockets fail (Failed to listen → start-limit-hit), and the services fail with dependency. Reason: a live systemd-sysext refresh only reloads the manager. snosi's reload-sysext.service (systemd-sysusers) runs at boot only.
  • Reboot: the accounts exist (frostmail 974, frostnotes 973, lodge 976, lodge-apps 975, memberships), and all 4 upheld units are active.
  • The lane's teardown deleted the VM.

The live-enable gap is a product finding for updex/snosi. It is not a lane defect.

Lane changes

  • sysext_probe manifest mode in snow-bootc-lifecycle-scripts.yaml: installed-n (the full attestation) → sysext-enable → sysext-reboot. qa.py sysext is the guest collector and qa.py sysext-phase is the host check; the host compares the reboot record with the enable record. Without the key, the 5-boot lifecycle does not change.
  • The sysext probe unit orders After=multi-user.target. Without that, the target orders itself after the unit it Wants=, stays inactive, and its Upholds= never fires (run -mjhb4).
  • scripts/snow-lifecycle-dev-submit.sh packs the scripts (gzip+base64; the entry command unpacks them byte-equal). The inline dev template went over Argo's 128 KiB MaxEnvVarLen, and the controller cannot create the offload ConfigMap (chart 1.0.23 binds a missing ClusterRole argo-workflows-workflow-controller-cluster-template; run -2xxzw). The main lane mounts its ConfigMap and is not affected.

Checks

  • pytest tests/: 918 passed (coverage 87.7%). shellcheck is clean on run.sh (extracted) and the dev-submit script. qa.py validate accepts the manifest.
  • Confirmation run at the PR head 3eccfdd8: dev-snow-bootc-lifecycle-vgz7k (16:26–16:41Z). It has the same verdict as -kb7qb: the enable boot fails with sysusers_missing:* and unit_inactive:*, and the reboot boot reports sysext_failures=none. The pod log carries the re-sanitized sysext_journal lines. The lane deleted the VM.
  • Coders: deepseek/deepseek-flash (probe mode) and claude-opus (the fixes after the runs and after review).
  • Cross-review by openai/gpt-6.1-sol (merge-base 292499fd):
    • Initial review at 938f78c5: 2 blocking findings. The host printed guest journal text without sanitizing it, and host failure codes were built from record keys without validation.
    • Both are fixed in 3eccfdd8, with tests for hostile records. .coverage is removed and ignored.
    • Re-review 1 at 3eccfdd8: Ready, Blocking: none.

@bketelsen
bketelsen merged commit 762aeb3 into main Oct 28, 2026
4 checks passed
@bketelsen
bketelsen deleted the murbella/snow-sysext-probe branch October 28, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants