Bug 431556

Summary: All bash scripts hang when starting on real tty
Product: [Fedora] Fedora Reporter: Björn Gerhart <gerhart>
Component: kbdAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 622981 (view as bug list) Environment:
Last Closed: 2008-02-05 14:56:50 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: 622981    
Attachments:
Description Flags
Patches unicode_start to use /bin/sh instead of /bin/bash none

Description Björn Gerhart 2008-02-05 13:41:00 UTC
+++ This bug was initially created as a clone of Bug #172059 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922
Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
Bash scripts hang, running "bash -x" shows that they are hanging running a
command unicode_start

Version-Release number of selected component (if applicable):
bash-3.0-31

How reproducible:
Always

Steps to Reproduce:
1. Start X, but do not login
2. <ctrl-alt-f1>
3. login to terminal session as root
  Attempt to run any bash script

Actual Results:  Script didn't start

Expected Results:  script should have started

Additional info:

I attempted to capture the output using 'script' to submit here as evidentce but
then the program ran fine, presumably because the output was a pty rather than a
tty.


-- Additional comment from bjoern.gerhart on 2007-11-09 05:19
EST --
Patch is created for modifying kbd-1.12-10.fc4.1.src.rpm. It just modifies the
very first line of unicode_start to #!/bin/sh.
(see also following issue: https://issues.rpath.com/browse/RPL-255)

Comment 1 Björn Gerhart 2008-02-05 13:41:00 UTC
Created attachment 293995 [details]
Patches unicode_start to use /bin/sh instead of /bin/bash

Comment 2 Björn Gerhart 2008-02-05 14:56:50 UTC

*** This bug has been marked as a duplicate of 172059 ***