mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] unlink on NFS volume fails silently
@ 2025-07-06  6:25 Stephen Von Takach
  2025-07-07 18:26 ` Markus Wichmann
  2025-07-08  1:08 ` Rich Felker
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Von Takach @ 2025-07-06  6:25 UTC (permalink / raw)
  To: musl; +Cc: Viv Briffa

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

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@place.technology

[-- Attachment #2: Type: text/html, Size: 4184 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-10 21:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-06  6:25 [musl] unlink on NFS volume fails silently Stephen Von Takach
2025-07-07 18:26 ` Markus Wichmann
2025-07-08  1:08 ` Rich Felker
2025-07-09  3:59   ` [musl] " Stephen Von Takach
2025-07-09 18:41     ` Rich Felker
2025-07-09 23:01       ` [musl] " Stephen Von Takach
2025-07-10  0:03         ` Rich Felker
2025-07-10  4:58           ` Stephen Von Takach
2025-07-10 15:44             ` Rich Felker
2025-07-10 17:01               ` Nathan McSween
2025-07-10 17:11                 ` Rich Felker
2025-07-10 21:25               ` Stephen Von Takach

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).