summary refs log tree commit diff
path: root/build-aux
diff options
context:
space:
mode:
authorChris Marusich <cmmarusich@gmail.com>2020-06-04 23:26:19 -0700
committerChris Marusich <cmmarusich@gmail.com>2020-06-06 15:43:35 -0700
commitd445c30ea6f9693454ca96bae9089ba8738a6f78 (patch)
tree25a4cccb66ef31337f3c6673508e0674235003de /build-aux
parentc39693d76099c159df856ffb5b2c43765fd6f2dd (diff)
downloadguix-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