Bug 423011

Summary: busybox cut command suppresses redirected output
Product: [Fedora] Fedora Reporter: D. Hugh Redelmeier <hugh>
Component: busyboxAssignee: Ivana Varekova <varekova>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: hugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: busybox-1.2.2-10.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-28 08:54:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 399731, 425873    
Attachments:
Description Flags
demonstration / exploration of busybox's cut behaviour none

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