![]() |
|
Message-ID: <CAASffotpA8p06wsnAz7xHAuhhM2t0bAphkmNSpc9qV7yafh+zQ@mail.gmail.com>
Date: Sun, 6 Jul 2025 16:25:31 +1000
From: Stephen Von Takach <steve@...ce.technology>
To: musl@...ts.openwall.com
Cc: Viv Briffa <viv@...ce.technology>
Subject: unlink on NFS volume fails silently
Hi,
We recently had to move a service from being built on alpine linux to
debian linux as we were getting silent failures when deleting a directory
with many files on an NFS volume. Basically this call to unlink was not
raising an error if the file failed to delete
https://github.com/crystal-lang/crystal/blob/master/src/crystal/system/unix/file.cr#L129
We replicated the issue in an alpine container with rm -rf
/nfs_mount/git_repo_to_delete and it also failed to successfully delete all
the files, it did raise an error though (I assume it checked the file was
removed before continuing) not entirely sure.
Both these operations succeed with glibc when using debian.
Looks a bit like this issue:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/10960
Stephen von Takach Dukai
Engineering Lead
PlaceOS
Australia, Hong Kong, London, New York
p: +61 408 419 954
e: steve@...ce.technology
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.