Red Hat Bugzilla – Bug 444389
rpm broken pipe error
Last modified: 2009-01-07 04:29:14 EST
Description of problem:
rpm -qa --last | anything
gives a broken pipe error message that appears to be from awk
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -qa --last | head
the output is exactly as expected, except an error is printed to STDERR that
says "awk: (FILENAME=- FNR=xxx) fatal: printf to "standard output" failed
no error message was expected
bug observed in Fedora 9 i386 (pre-release)
Yup. This comes from NSRP (indirectly invoked by NSS, which rpm now uses for
lowlevel crypto) disabling SIGPIPE which awk and many other cli tools expect for
normal pipe termination instead of EPIPE.
Easy to fix by resetting SIGPIPE to default action for --pipe (which --last
alias uses), fixed upstream now.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Fixed in rawhide by the new rpm, should probably fix in F9 too...
rpm-184.108.40.206-3.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing-newkey update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11390
rpm-220.127.116.11-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.