aboutsummaryrefslogtreecommitdiffstats
path: root/host.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:58:32 +0000
committertv <tv@krebsco.de>2026-11-25 12:58:32 +0000
commitb54b98a0b11bac582286899115d40ddff168a948 (patch)
tree7ca28a09affd950e302c66806f5e72d2badec0f3 /host.nix
parent58827c3bee1fedeb5f471328b60adea420339a2f (diff)
run-firecracker-vm: helpers without the lock fds
bash passes the fds of the locks (on the store and home images, the tap, the name) on to every child, so the 9P servers and the watcher of nixpkgs held them, too, and when the script got killed (without its trap running), they stayed, and kept the VM's files locked: "is in use by another VM" on the next start. Now the helpers close them first, and only the VMM keeps them, as long as it runs (tested: a script killed with a helper left over leaves the file locked, and doesn't with close_locks).
Diffstat (limited to 'host.nix')
0 files changed, 0 insertions, 0 deletions