Skip to content

Retain rootfs closure during in-place deployment - #45

Merged
ngalaiko merged 1 commit into
masterfrom
fix/rootfs-gc-and-deploy-preflight
Sep 1, 2026
Merged

Retain rootfs closure during in-place deployment#45
ngalaiko merged 1 commit into
masterfrom
fix/rootfs-gc-and-deploy-preflight

Conversation

@assistant-ngalaiko

Copy link
Copy Markdown
Contributor

Runtime /etc entries link into the rootfs derivation, but only the intermediate etc derivation was registered in Nix’s database. GC therefore collected the live rootfs, leaving /etc/passwd and CA certificates dangling. Register the rootfs closure itself.\n\nRestore ordinary OpenSSH for deployment after a Tailscale ping preflight; Tailscale SSH cannot map users while /etc/passwd is broken. Keep its probe as non-blocking diagnostics.

@assistant-ngalaiko
assistant-ngalaiko Bot force-pushed the fix/rootfs-gc-and-deploy-preflight branch from 722a8f0 to 09b68b9 Compare September 1, 2026 15:54
@assistant-ngalaiko
assistant-ngalaiko Bot force-pushed the fix/rootfs-gc-and-deploy-preflight branch from 09b68b9 to e9280a6 Compare September 1, 2026 16:16
@ngalaiko
ngalaiko merged commit edf19d8 into master Sep 1, 2026
2 checks passed
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.

1 participant