diff options
author | Chris Marusich <cmmarusich@gmail.com> | 2020-06-04 23:26:19 -0700 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2020-06-06 15:43:35 -0700 |
commit | d445c30ea6f9693454ca96bae9089ba8738a6f78 (patch) | |
tree | 25a4cccb66ef31337f3c6673508e0674235003de /build-aux | |
parent | c39693d76099c159df856ffb5b2c43765fd6f2dd (diff) | |
download | guix-d445c30ea6f9693454ca96bae9089ba8738a6f78.tar.gz |
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".
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions