Skip to content

Recover verified USB state when e2fsck preen exits 4 #27

Description

@Deadbytes101

Alpha.11 physical boot on exact image SHA-256 7870c2c74e9edf64c58372b39fa15db10fe9ad5b605a26d638ea36d87df8d1dd reached the new bounded resize recovery path, but the verified USB state filesystem remained unavailable.

Physical evidence:

  • release commit: 15f1a2c0476d00724fc9054347de268d2a9d1162
  • state device: /dev/sdb4
  • state PARTUUID: 5249474f-04
  • state outcome: repair_required
  • exact failure: post-timeout ext4 check failed: e2fsck: exit 4: RIGOS_STATE_SEED: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
  • /var/lib/rigos remained the live overlay, not the persistent ext4 mount
  • recovery credential truthfully remained credential_scope=boot, credential_persisted=false
  • SSH truthfully used an ephemeral host identity
  • profile and miner remained blocked

Required fix:

  • advance the next immutable artifact to Alpha.12
  • only after current-boot USB state attestation, exact PARTUUID/ext4/label verification, and proof that the device is unmounted, allow a bounded automatic e2fsck -f -y escalation when preen exits exactly 4
  • revalidate the exact state device before escalation and before resize
  • retain bounded command output and timeouts
  • do not escalate operational, usage, cancelled, or library failures
  • rerun the normal state core after successful repair and resize
  • keep recovery credentials boot-scoped until state is genuinely mounted and ready
  • keep configuration and mining fail-closed

Physical acceptance requires state ready, persistent password restoration across reboot, persistent SSH fingerprint, configuration activation, and miner startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions