Open elikoga opened 1 month ago
Describe the bug
We are experiencing sporadic file truncation when nix-copy-closure is interrupted on either the --from or --to systems.
nix-copy-closure
--from
--to
The nix-copy-closure is triggered by a nixos-rebuild with --target-host.
nixos-rebuild
--target-host
We are forced to scan and repair the store using nix store verify --no-trust --all and nix-store --repair-path.
nix store verify --no-trust --all
nix-store --repair-path
Expected behavior
I would expect the internal functions on the remote to prevent store corruptions.
nix-env --version output
nix-env --version
nix-env (Nix) 2.18.5
Additional context
I will add more details when this occurs again.
Priorities
Add :+1: to issues you find important.
Probably related: https://github.com/NixOS/nix/issues/1218
Describe the bug
We are experiencing sporadic file truncation when
nix-copy-closure
is interrupted on either the--from
or--to
systems.The
nix-copy-closure
is triggered by anixos-rebuild
with--target-host
.We are forced to scan and repair the store using
nix store verify --no-trust --all
andnix-store --repair-path
.Expected behavior
I would expect the internal functions on the remote to prevent store corruptions.
nix-env --version
outputnix-env (Nix) 2.18.5
Additional context
I will add more details when this occurs again.
Priorities
Add :+1: to issues you find important.