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 615391 - the cpio applet prints to stdout instead of stderr
Summary: the cpio applet prints to stdout instead of stderr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: busybox
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Denys Vlasenko
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-16 16:46 UTC by Karel Volný
Modified: 2011-05-19 13:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:08:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (581 bytes, patch)
2010-07-16 17:54 UTC, Denys Vlasenko
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0559 0 normal SHIPPED_LIVE busybox bug fix update 2011-05-18 17:57:17 UTC

Description Karel Volný 2010-07-16 16:46:24 UTC
Description of problem:
when extracting a file using the cpio applet, the summary message like "26661 blocks" is written to stdout

the standalone cpio writes the message to stderr

Version-Release number of selected component (if applicable):
busybox-1.15.1-9.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. get some cpio archive (e.g. rpm package converted using rpm2cpio)
2. busybox cpio -t <file.cpio >/dev/null
  
Actual results:
(nothing is printed)

Expected results:
26661 blocks

(^ for example ...)

Additional info:

Comment 2 RHEL Program Management 2010-07-16 17:17:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Denys Vlasenko 2010-07-16 17:54:22 UTC
Created attachment 432463 [details]
Proposed patch

Comment 4 Denys Vlasenko 2010-07-16 18:05:49 UTC
Test build:
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=2604516

Testing the fix:

# ./busybox cpio -t <busybox-1.15.1-11.el6.x86_64.cpio
./sbin/busybox
./usr/share/doc/busybox-1.15.1
./usr/share/doc/busybox-1.15.1/LICENSE
./usr/share/doc/busybox-1.15.1/README
./usr/share/man/man1/busybox.1.gz
2190 blocks

# ./busybox cpio -t <busybox-1.15.1-11.el6.x86_64.cpio 2>/dev/null
./sbin/busybox
./usr/share/doc/busybox-1.15.1
./usr/share/doc/busybox-1.15.1/LICENSE
./usr/share/doc/busybox-1.15.1/README
./usr/share/man/man1/busybox.1.gz

Comment 7 Denys Vlasenko 2010-11-30 13:28:19 UTC
The build which incorporates the fix:

https://brewweb.devel.redhat.com/taskinfo?taskID=2922957

Comment 10 errata-xmlrpc 2011-05-19 13:08:27 UTC
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 therefore 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-2011-0559.html


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