Bug 586499

Summary: There is no longer a 'clear' command in the anaconda/kickstart environment
Product: Red Hat Enterprise Linux 6 Reporter: Don Hoover <donhoover>
Component: anacondaAssignee: Martin Gracik <mgracik>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: atodorov, dgregor, dmach
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-13.21.34-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-02 20:47:38 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 Don Hoover 2010-04-27 18:06:43 UTC
Description of problem:
There is no longer a 'clear' command to clear the screen in the anaconda/kickstart environment for %pre/%post scripts to use.

Version-Release number of selected component (if applicable):
RHEL 6 Beta 1

How reproducible:
clear command not found

Steps to Reproduce:
1.
2.
3.
  
Actual results:
clear command not found

Expected results:
clear command would clear screen

Additional info:

I believe this is another casualty of removing busybox.  I bet that lots of people used 'clear' in their kickstart %pre and %post scripts though and will get an error.

This can simply be emulated by the following: echo -e "\033[H\033[J"

The stand along 'clear' executable needs to be added into the install image, or this should be documented in the release notes.

Comment 2 RHEL Program Management 2010-04-27 19:03:14 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Martin Gracik 2010-04-29 12:27:01 UTC
Fixed in version anaconda-13.21.34.el6

Comment 6 Alexander Todorov 2010-05-11 21:10:43 UTC
VERIFIED with anaconda-13.21.36-1.el6 / 0506.3 compose. 'clear' command is now present in stage2 (siwtch to tty2 and type 'clear').

Comment 7 releng-rhel@redhat.com 2010-07-02 20:47:38 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.