guix/nix
Chris Marusich d445c30ea6
daemon: Handle EXDEV when moving to trash directory.
Fixes <https://bugs.gnu.org/41607>.
Reported by Stephen Scheck <singularsyntax@gmail.com>.

* nix/libstore/gc.cc (LocalStore::deletePathRecursive): When we try to
move a dead directory into the trashDir using rename(2) but it returns
an EXDEV error, just delete the directory instead.  This can happen in a
Docker container when the directory is not on the "top layer".
2020-06-06 15:43:35 -07:00
..
boost daemon: boost::format: Fix typo "referred". 2019-11-26 00:16:36 +01:00
libstore daemon: Handle EXDEV when moving to trash directory. 2020-06-06 15:43:35 -07:00
libutil daemon: Avoid kill -1 bug on the Hurd. 2020-03-26 12:59:33 +01:00
nix-daemon guix build, daemon: Rename "--no-build-hook" to "--no-offload". 2019-11-26 00:16:36 +01:00
.gitignore build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
AUTHORS Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
COPYING Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
local.mk build: Add a comment above the sysvinit section. 2020-05-23 15:37:58 +02:00