diff options
| author | tv <tv@krebsco.de> | 2026-11-25 12:58:32 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 12:58:32 +0000 |
| commit | b54b98a0b11bac582286899115d40ddff168a948 (patch) | |
| tree | 7ca28a09affd950e302c66806f5e72d2badec0f3 /pkgs/run-rig | |
| parent | 58827c3bee1fedeb5f471328b60adea420339a2f (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 'pkgs/run-rig')
0 files changed, 0 insertions, 0 deletions
