Virtuozzo/OpenVZ Linux Team has noticed an readv(2) error handling error affected RHEL4 kernels: Version:2.6.9-42.0.3.EL readv hits an error during reading, it reports the error if nothing has been successfully read yet. This condition reproducible when an error occurs, if nothing has been read/written, report the error code; otherwise, report the amount of bytes successfully transferred up to that point. performing readv(2) with the following iov. iov[0] = {len0, ptr1} iov[1] = {len1, NULL} (or any other invalid pointer) iov[2] = {len2, ptr2} When file size is enough, performing above readv(2) results in len0 bytes from file_pos @ ptr0 len2 bytes from file_pos + len0 @ ptr2 Expected result: len0 bytes from file_pos @ ptr0 It is known issue and it is fixed in mainstream by following patch: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a
Created attachment 140771 [details] Backported patch
committed in stream U5 build 42.28. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
QE ack for RHEL4.5.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0304.html
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d12b450dea
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5247b879d
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d12b450dea
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5247b879d
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.