RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1926138 - split can cause data corruption with --number=K/N construct [rhel-8]
Summary: split can cause data corruption with --number=K/N construct [rhel-8]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: coreutils
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: Radka Brychtova
URL:
Whiteboard:
Depends On: 1921246
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-08 10:29 UTC by Kamil Dudka
Modified: 2021-11-10 08:24 UTC (History)
2 users (show)

Fixed In Version: coreutils-8.30-9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1921246
Environment:
Last Closed: 2021-11-09 19:42:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4418 0 None None None 2021-11-09 19:42:23 UTC

Description Kamil Dudka 2021-02-08 10:29:25 UTC
+++ This bug was initially created as a clone of Bug #1921246 +++

Description of problem:
split --number=K/N can be used when there isn't enough local storage,
and you want to split input to separate output devices in separate runs.

Ever since v8.26 (so including centos 8), there is a nasty
data corruption issue for any file over 128KiB
as part of the input file is skipped incorrectly.

The upstream fix for this is:
https://github.com/coreutils/coreutils/commit/bb21daa1.patch

--- Additional comment from Kamil Dudka on 2021-02-02 15:51:39 CET ---

Thank you for reporting the bug!

dist-git commit: https://src.fedoraproject.org/rpms/coreutils/c/7afd521b

--- Additional comment from Pádraig Brady on 2021-02-05 20:00:36 CET ---

Is there a bug tracking this for the centos/rhel 8 side of things.
I didn't find one when searching for "split" in the RHEL 8 component

--- Additional comment from Kamil Dudka on 2021-02-08 11:25:23 CET ---

We do not clone Fedora bugs for RHEL proactively, only the other way around.  Given the fact that the upstream patch applies cleanly and fixes a possible data loss, I will clone this one for eventual inclusion in the next update of coreutils in RHEL-8.  Thanks for the hint!

Comment 10 errata-xmlrpc 2021-11-09 19:42:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (coreutils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4418


Note You need to log in before you can comment on or make changes to this bug.