Skip to content

[STACKED on #855] fix(guest): disable the ZFS pool root mountpoint - #860

Closed
kvinwang wants to merge 41 commits into
codex/fix-guest-zfs-pool-errorsfrom
codex/fix-guest-zfs-root-mountpoint
Closed

[STACKED on #855] fix(guest): disable the ZFS pool root mountpoint#860
kvinwang wants to merge 41 commits into
codex/fix-guest-zfs-pool-errorsfrom
codex/fix-guest-zfs-root-mountpoint

Conversation

@kvinwang

@kvinwang kvinwang commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

STACKED PR — merge #855 first.

Problem

The newly created ZFS pool inherited a root mountpoint, so importing it could mount the pool root in addition to the explicitly managed datasets. That created an unmanaged mount and could collide with the guest volume layout.

Root cause and fix

Create/configure the pool with its root mountpoint disabled; only the intended child datasets receive mountpoints.

Implementation

The branch records the following focused implementation work:

  • fix(guest): disable the ZFS pool root mountpoint

Changed paths:

  • dstack/dstack-util/src/system_setup.rs

Scope

This PR addresses one logical guest finding. It intentionally excludes the acceptance-test infrastructure from #841 and unrelated product fixes from #840.

Dependency and merge order

Verification

  • git diff --check origin/codex/fix-guest-zfs-pool-errors..origin/codex/fix-guest-zfs-root-mountpoint: passed.
  • The declared base was verified as an ancestor of the PR head.
  • Focused compile/check verification was run for the changed component where applicable; non-Rust packaging or configuration changes were reviewed against their exact branch delta.

Copilot AI review requested due to automatic review settings July 31, 2026 02:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

kvinwang added 13 commits July 31, 2026 12:10
* test(simulator): log NitroTPM vendor commands

* fix(simulator): advertise NitroTPM vendor command

* style(simulator): apply repository rustfmt

* fix(simulator): report live NitroTPM PCRs

* chore(simulator): remove NitroTPM debug output

* refactor(tpm2): support stream transports

* feat(tpm2): edit command capability responses

* refactor(simulator): use typed TPM APIs

* fix(tpm2): preserve device response reads

* test(tpm2): cover stream response framing

* fix(tpm2): satisfy strict CI checks
…r-config

fix(vmm): generate simulated SEV-SNP mr_config
Support multiple init scripts and measure their hashes
…surements

fix(vmm): pass cloud image measurements to guests
…ed-vtpm-read

fix(simulator): retry interrupted vTPM reads
@kvinwang
kvinwang force-pushed the codex/fix-guest-zfs-root-mountpoint branch from 792193f to 2563c2f Compare August 3, 2026 13:36
@kvinwang kvinwang closed this Aug 3, 2026
@kvinwang

kvinwang commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased directly onto master. GitHub would not allow changing the base of this stacked PR after #855 was closed, so the rebased one-commit change is now in #980.

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.

2 participants