agent v0.36.5: AttachDrive normalizes to exactly one bind (converges stacked binds)

countHostMounts + normalize: no-op only when exactly one bind is guest-visible;
else strip all binds and lay one fresh. Converges a stacked double-bind to one
(the old umount-one+mount-one never did).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-15 20:24:42 +02:00
parent a356d6def4
commit 2da4c38773
3 changed files with 47 additions and 20 deletions
+7
View File
@@ -3,6 +3,13 @@
All notable changes to **felhom-agent** are recorded here. Update on every code
change that gets pushed.
## v0.36.5 — AttachDrive normalizes to exactly one bind (2026-06-15)
AttachDrive now COUNTS the binds at a stable path (countHostMounts) and normalizes to exactly one: it is
a no-op only when there is exactly ONE bind the guest sees; otherwise it strips ALL existing binds
(bounded loop) and lays down one fresh bind. This converges a stacked double-bind to one — the old
umount-one+mount-one force-rebind never did. Caught when a double-bind survived a guest reboot.
## v0.36.4 — serialize AttachDrive/DetachDrive (no double-bind race) (2026-06-15)
A mutex on GuestBinder serializes AttachDrive/DetachDrive so a controller-triggered reconnect and the