diff options
| author | tv <tv@krebsco.de> | 2026-11-25 13:43:44 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 13:43:44 +0000 |
| commit | 6eb17cb3bf9b9d8e948b7a8cc09d6d51d6f4c373 (patch) | |
| tree | 632c46b1165954b7713938a80886e9e8178137e2 /pkgs/run-rig | |
| parent | 2ca2286661d64b4f93bba4c6a998e271be65d5f4 (diff) | |
layers/nix.nix: keep the rw-store's copies of the host's store's paths
fc-rw-store-unshadow dropped every path in the rw-store that a lower
layer had, as complete there, including the host's store. But the
host's store isn't fixed like the images: its garbage collection can
remove a path any time, and then a path the guest's nix had added and
still has registered (its own copy dropped at boot, in favour of the
host's) is gone. nix-store --verify then can't fix the database (the
missing paths have valid referrers), nix-load-db fails, and with it the
nix daemon. Now only paths that an image has get dropped, and of the
host's store's, only whiteouts, which would hide its path; real copies
stay (tested in a scratch tree, with a whiteout made in a user
namespace).
Diffstat (limited to 'pkgs/run-rig')
0 files changed, 0 insertions, 0 deletions
