Bug 423011 - busybox cut command suppresses redirected output
Summary: busybox cut command suppresses redirected output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: busybox
Version: 7
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 399731 425873
TreeView+ depends on / blocked
 
Reported: 2007-12-13 09:34 UTC by D. Hugh Redelmeier
Modified: 2008-02-28 08:54 UTC (History)
1 user (show)

Fixed In Version: busybox-1.2.2-10.fc7
Clone Of:
Environment:
Last Closed: 2008-02-28 08:54:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
demonstration / exploration of busybox's cut behaviour (582 bytes, text/plain)
2007-12-13 09:34 UTC, D. Hugh Redelmeier
no flags Details

Description D. Hugh Redelmeier 2007-12-13 09:34:57 UTC
Description of problem:
a cut command that works when output goes to the console but produces no output
otherwise

Version-Release number of selected component (if applicable):
busybox-1.2.2-8.fc7

How reproducible:
always

Steps to Reproduce:
see attached log
  
Actual results:
cut produces an empty file

Expected results:
cut produces a file with "1"

Additional info:
This seems to be why kdump is currently broken, at least for me.  See
https://bugzilla.redhat.com/show_bug.cgi?id=399731

Comment 1 D. Hugh Redelmeier 2007-12-13 09:34:57 UTC
Created attachment 287111 [details]
demonstration / exploration of busybox's cut behaviour

Comment 2 Ivana Varekova 2007-12-13 16:06:32 UTC
This problem is fixed in busybox-1.2.2-9.fc7 which will be in test branch soon.

Comment 3 D. Hugh Redelmeier 2007-12-14 17:37:24 UTC
I think that means it will appear in
http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/7/x86_64/
It's not there yet.
The busybox site lists 1.8.2 as the latest stable version. 1.2.2 dates back to
October 2006.

F8 uses 1.6.1 (2007 June) as a base.  It does not have this bug nor does it have
https://bugzilla.redhat.com/show_bug.cgi?id=423781 .  Would it be good to rebase
to 1.6.1?

Comment 4 Fedora Update System 2007-12-15 17:50:05 UTC
busybox-1.2.2-9.fc7 has been pushed to the Fedora 7 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 update busybox'

Comment 5 D. Hugh Redelmeier 2007-12-16 04:04:08 UTC
This version seems to fix the cut bug.  kdump now works.  Thanks.

Comment 6 D. Hugh Redelmeier 2007-12-17 02:32:07 UTC
clone for F8's busybox 1.6.1: bug 425873


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