Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#72595 - coreutils 9.0 can corrupt files on ZFS
Attached to Project:
Arch Linux
Opened by Janne Heß (das_j) - Sunday, 31 October 2021, 17:33 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 09 November 2021, 10:27 GMT
Opened by Janne Heß (das_j) - Sunday, 31 October 2021, 17:33 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 09 November 2021, 10:27 GMT
|
DetailsDescription:
I'm not actually a ArchLinux user but the maintainer of coreutils in NixOS. Arch is the only other Distro that I know of that ships coreutils 9.0 so I wanted to make sure you know of this problem. It occurs in the hole punching code of ZFS (as far as I understood the issue) that is triggered by the new behaviour of cp. This results in corrupted files after they were copied under the right conditions. While ZFS is not officially supported by ArchLinux, it is a pretty common filesystem amongst its users (afaic) so it's probably worth trying to work around this issue. We did a downstream workaround by patching out the new behaviour so users of ZFS are not affected. Eventually, the ZFS will track down the issue and fix it but until that happens this was the route we chose to take. We have an issue that links all relevant bug reports and our patch (nixpkgs #143097) to get rid of the behaviour: https://github.com/NixOS/nixpkgs/issues/143208 It may be worthwile to investigate if Arch users with ZFS are also affected by this and if it's worth patching the coreutils package. Additional info: * package version(s) coreutils 9.0 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Tuesday, 09 November 2021, 10:27 GMT
Reason for closing: Not a bug
Tuesday, 09 November 2021, 10:27 GMT
Reason for closing: Not a bug
[1] https://github.com/openzfs/zfs/commit/de198f2d9507b6dcf3d0d8f037ba33940208733e
[2] https://github.com/openzfs/zfs/pull/12718
Regarding this particular issue, the path to fix it is under the hands of the zfs-dkms maintainer; I think we can close here.
Thanks Jonathon for bringing this up and loqs, as usualy, to be for being so pertinent.