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 1904646 - "Broken pipe" warnings while installing new kernels via yum
Summary: "Broken pipe" warnings while installing new kernels via yum
Keywords:
Status: CLOSED DUPLICATE of bug 1904066
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dracut
Version: 8.4
Hardware: s390x
OS: Linux
medium
low
Target Milestone: rc
: 8.4
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-05 08:19 UTC by Thomas Huth
Modified: 2021-01-20 14:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-07 08:40:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Huth 2020-12-05 08:19:52 UTC
Description of problem:
While installing a new kernel with "yum install" or "yum update", there are some "Broken Pipe" warnings from gzip and sort while dracut runs. They are likely harmless, since the kernel works afterwards anyway, but still this can be confusing for the user and should be avoided

Version-Release number of selected component (if applicable):
dracut-049-95.git20200804.el8.s390x
(also happens with dracut-049-100, but that causes other trouble, see BZ 1904642)

How reproducible:
100%

Steps to Reproduce:
1. Install a new kernel with "yum install" or "yum update"

Actual results:
 gzip: stdout: Broken pipe
 gzip: stdout: Broken pipe
 sort: write failed: 'standard output': Broken pipe
 sort: write error

Expected results:
No scary error messages.

Additional info:
The problem seems only to happen during installation with yum. If I re-generate an initramfs manually by calling dracut directly, the error messages do not occur!

I've also added some debug echo statements to /usr/bin/dracut to locate the origin of the error messages, and if I've got that right, they seem to be generated by this part of the script:

if (( maxloglvl >= 5 )) && (( verbosity_mod_l >= 0 )); then
    if [[ $allowlocal ]]; then
        "$dracutbasedir/lsinitrd.sh" "${DRACUT_TMPDIR}/initramfs.img"| ddebug
    else
        lsinitrd "${DRACUT_TMPDIR}/initramfs.img"| ddebug
    fi
fi

Comment 1 Thomas Huth 2020-12-05 08:24:32 UTC
FWIW, here's the complete output of the "yum install":

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 0:13:32 ago on 2020-12-05T02:51:56 EST.
kernel-4.18.0-258.el8.s390x.rpm                                                                  29 MB/s | 5.0 MB     00:00    
kernel-core-4.18.0-258.el8.s390x.rpm                                                             66 MB/s |  22 MB     00:00    
kernel-modules-4.18.0-258.el8.s390x.rpm                                                          34 MB/s | 6.3 MB     00:00    
Dependencies resolved.
================================================================================================================================
 Package                          Architecture            Version                          Repository                      Size
================================================================================================================================
Installing:
 kernel                           s390x                   4.18.0-258.el8                   @commandline                   5.0 M
 kernel-core                      s390x                   4.18.0-258.el8                   @commandline                    22 M
 kernel-modules                   s390x                   4.18.0-258.el8                   @commandline                   6.3 M

Transaction Summary
================================================================================================================================
Install  3 Packages

Total size: 33 M
Installed size: 49 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                        1/1 
  Installing       : kernel-core-4.18.0-258.el8.s390x                                                                       1/3 
  Running scriptlet: kernel-core-4.18.0-258.el8.s390x                                                                       1/3 
  Installing       : kernel-modules-4.18.0-258.el8.s390x                                                                    2/3 
  Running scriptlet: kernel-modules-4.18.0-258.el8.s390x                                                                    2/3 
  Installing       : kernel-4.18.0-258.el8.s390x                                                                            3/3 
  Running scriptlet: kernel-core-4.18.0-258.el8.s390x                                                                       3/3 

gzip: stdout: Broken pipe

gzip: stdout: Broken pipe
sort: write failed: 'standard output': Broken pipe
sort: write error

  Running scriptlet: kernel-4.18.0-258.el8.s390x                                                                            3/3 
  Verifying        : kernel-4.18.0-258.el8.s390x                                                                            1/3 
  Verifying        : kernel-core-4.18.0-258.el8.s390x                                                                       2/3 
  Verifying        : kernel-modules-4.18.0-258.el8.s390x                                                                    3/3 
Installed products updated.

Installed:
  kernel-4.18.0-258.el8.s390x           kernel-core-4.18.0-258.el8.s390x           kernel-modules-4.18.0-258.el8.s390x          

Complete!

Comment 2 David Tardon 2020-12-07 08:40:05 UTC

*** This bug has been marked as a duplicate of bug 1904066 ***


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