bug#59821: 9.1: du Aborted (corrupt filesystem)

2022-12-05 Thread Sam James
> On 4 Dec 2022, at 18:07, Luke Dashjr wrote: > > Version: sys-apps/coreutils-9.1-r1 (Gentoo) > > Context: Linux has a long-standing bug which leads to ext4 RAM dishs (zram > specifically) getting corrupted randomly. This manifests as various > newfstatat calls returning -1 errno=EUCLEAN (Stru

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2022-12-31 Thread Sam James
Hi folks, Originally reported in Gentoo at https://bugs.gentoo.org/885793. Frank Limpert reported that when copying large files across CIFS shares, cp may abort because copy_file_range returns ENOENT sometimes. This sounds like a suspicious kernel bug if CIFS interactions are sometimes spuriousl

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2023-01-06 Thread Sam James
> On 31 Dec 2022, at 18:51, Pádraig Brady wrote: > > On 31/12/2022 17:00, Sam James wrote: >> Hi folks, >> Originally reported in Gentoo at https://bugs.gentoo.org/885793. >> Frank Limpert reported that when copying large files across CIFS shares, >> cp

bug#60455: Missing fallback if copy_file_range returns ENOENT?

2023-01-07 Thread Sam James
> On 7 Jan 2023, at 16:25, Pádraig Brady wrote: > > On 07/01/2023 07:34, Sam James wrote: >>> On 31 Dec 2022, at 18:51, Pádraig Brady wrote: >>> >>> On 31/12/2022 17:00, Sam James wrote: >>>> Hi folks, >>>> Originally reported in

bug#62572: cp --no-clobber behavior has changed

2023-03-31 Thread Sam James
Alberto Salvia Novella writes: > In the past if you did: > cp --no-clobber $in $out > > And "out" existed, "cp" exited with 0. But now, with coreutils 9.2, it > exists with 1. > > Is this on purpose? > > (When replying include my email in the field "to", as I'm not subscribed to > this list) We

bug#63245: Potential regression: cp --preserve=mode or --preserve=all fails to copy files from subdirectory

2023-05-04 Thread Sam James
Pádraig Brady writes: > On 04/05/2023 12:27, Pádraig Brady wrote: >> On 04/05/2023 07:27, Schlomo Schapiro wrote: >>> Hi Pádraig, >>> >>> thank you, that will not yet fix the problem in the older distros? What >>> about the RPM world with Fedora/RHEL and Archlinux? As far as I can tell >>> all c

bug#63245: Potential regression: cp --preserve=mode or --preserve=all fails to copy files from subdirectory

2023-05-10 Thread Sam James
Pádraig Brady writes: > On 05/05/2023 02:39, Sam James wrote: >> Pádraig Brady writes: >> >>> On 04/05/2023 12:27, Pádraig Brady wrote: >>>> On 04/05/2023 07:27, Schlomo Schapiro wrote: >>>>> Hi Pádraig, >>>>> >>>

bug#63850: cp fails for files > 2 GB if copy offload is unsupported

2023-06-02 Thread Sam James
Hello, Forwarding a downstream report of a behaviour change between coreutils-9.1 and coreutils-9.3 from https://bugs.gentoo.org/907474. The reporter bisected it to 093a8b4bfaba60005f14493ce7ef11ed665a0176 ("copy: fix --reflink=auto to fallback in more cases", see bug#62404) and gave strace outpu

bug#63850: cp fails for files > 2 GB if copy offload is unsupported

2023-06-05 Thread Sam James
Paul Eggert writes: > On 2023-06-03 06:54, Mike Gilbert wrote: >> In this case, headers from linux-6.1 are being used at build time. >> However, the code is being run on a linux-4.19 kernel. > > Gnulib doesn't support that. If you build with headers from a > particular version of the operating s

bug#63850: cp fails for files > 2 GB if copy offload is unsupported

2023-06-05 Thread Sam James
Sam James writes: > [[PGP Signed Part:Undecided]] > > Paul Eggert writes: > >> On 2023-06-03 06:54, Mike Gilbert wrote: >>> In this case, headers from linux-6.1 are being used at build time. >>> However, the code is being run on a linux-4.19 kernel. >&

bug#63850: cp fails for files > 2 GB if copy offload is unsupported

2023-06-06 Thread Sam James
Paul Eggert writes: > On 2023-06-05 22:26, Sam James wrote: >> It's just that linux-headers is >> a special case > > Indeed it is. And apparently glibc avoids the copy_file_range bugs by > never, ever using copy_file_range internally - which explains why > gli

bug#63850: cp fails for files > 2 GB if copy offload is unsupported

2023-06-07 Thread Sam James
Paul Eggert writes: > On 2023-06-06 03:02, Sam James wrote: >> Thanks Paul. Do you know if there's any other cases of this in gnulib? > > There's no other use of linux/version.h in Gnulib. However, this > doesn't mean there are no other instances of the problem

bug#65674: Build failure with

2023-09-01 Thread Sam James
Hello, Forwarding a downstream report at https://bugs.gentoo.org/913368 of coreutils-9.4 failing to build with openssl-1.1.x: """ x86_64-pc-linux-gnu-gcc -I. -I./lib -DHASH_ALGO_BLAKE2=1 -DHAVE_CONFIG_H -Ilib -I./lib -Isrc -I./src-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-dia

bug#66582: annoying, needless warning messages from [fe]grep

2023-10-16 Thread Sam James
Noah Friedman writes: > Just because a program is considered deprecated or obsolete by a standards > committee, is no reason to actually force that program out of use or > availablity. And since when does GNU adhere strictly to POSIX anyway? grep is not from coreutils. As for the issue you di

bug#79139: cp --reflink truncates sparse files on ZFS

2025-08-02 Thread Sam James
Paul Eggert writes: > On 2025-08-02 01:32, Pádraig Brady wrote: > >> it's worth mentioning run-time vs build-time checks. > > Yes, and this could be documented more. I installed the attached. > >> For reference I made some notes on various version compat at: >> http://pixelbeat/programming/linux