Bug 234769

Summary: busybox ls does not work without a tty
Product: [Fedora] Fedora Reporter: Chaskiel Grundman <cg2v>
Component: busyboxAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-02 10:50:25 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:

Description Chaskiel Grundman 2007-04-01 19:01:58 UTC
Description of problem:
busybox's ls does not produce output if stdout is not a tty. This breaks the
kexec-tools initramfs

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


How reproducible:
always

Steps to Reproduce:
1. busybox ls -1 | cat
2. busybox ls -1
3.
  
Actual results:
first command always returns empty output

Expected results:
commands show same output

Additional info:
(the '-1' arg is to make sure the output would be the same if the bug was
absent. it is not needed to trigger the bug)

Comment 1 Ivana Varekova 2007-04-02 10:50:25 UTC
Fixed in busybox-1.2.2-7.fc7