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): rpm-4.4.2.3-2.fc9.i386 gawk-3.1.5-17.fc9.i386 How reproducible: 100% Steps to Reproduce: 1. rpm -qa --last | head Actual results: 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 (Broken pipe)" Expected results: no error message was expected Additional info: 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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fixed in rawhide by the new rpm, should probably fix in F9 too...
rpm-4.4.2.3-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-4.4.2.3-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.